11.04: Backup from, USB stick

Asked by peter

Hello

I have an USB stick and it contains a JOOMLA website. I copied the website from the USB stick to the harddrive and made the following:

1. I changed the owner and the group by: sudo chown -R peter:peter /opt/lampp/htdocs/Alterssiedlung_im_Tal
2. I logged in by sudo -i
3. I changed to the website by cd /opt/lampp/htdocs/Alterssiedlung_im_Tal
4. I activated the two following commands:
    sudo find . -type f -exec chmod 644 {} \;
    sudo find . -type d -exec chmod 755 {} \;

Everything worked successfull. I started the XAMPP and in the Input bar of the browser I entered
http://localhost/Alterssiedlung_im_Tal/administrator/. And I got an error message: Database Error: Unable to connect to the Database: Could not connect to database

The apache server should run under the name peter. I started the command ps ax | grep apache and got the following:
peter@linux:~$ ps ax | grep apache
30667 pts/1 S+ 0:00 grep --color=auto apache

apache is written in red and peter is not mentioned. Maybe this is the problem?

I will be lucky if you can help. Thanks in advance.
Peter

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu apache Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alessandro Menti (elgaton) said :
#1

No, the problem is that you have copied only the PHP scripts for the Joomla site, forgetting about the database (tables and users) upon which Joomla relies. You will need to export the database you have created when Joomla was installed from the original machine, install the appropriate database program (MySQL, PostgreSQL...) on the machine you want to move the site to and import the database again.

Revision history for this message
peter (peter-neuweiler) said :
#2

Thanks for the hint.

But I don't have the database. In http://localhost/phpmyadmin/databases the database Alterssiedlung_im_Tal is not listed.

Or what do you mean? Thanks.
Peter

Revision history for this message
Alessandro Menti (elgaton) said :
#3

Yes, I mean exactly that, but you should look for the database in the *old* machine you copied the Web site from. Is it there?

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.