Support > cpg1.5 install
Migrate to an Ubuntu 16.04 server
ron4mac:
--- Quote from: peterleinen on January 23, 2017, 09:47:53 pm ---The install.php fill an empty database, the update.php use an existing?
--- End quote ---
1. Dump (export) the database from CPG 1.5.44 running on the old server
2. Copy the albums folder from old server to new server
3. Import database to new server
4. Point CPG 1.6.01 on the new server to the database that was imported by making changes to include/config.inc.php
5. Run update.php in CPG 1.6.01
Once you're up and running, you can remove the database that was created by the install of CPG 1.6.01.
peterleinen:
Hello.
I'm running into a "500 Internal Server Error" .
What I did:
1) Upgrade to 1.5.44 on the old server - with out any problems.
2) Move the albums and the database dump to the new machine
3) Unpack the v1.6.01.zip into the installation directory.
4) Run the install.php and use a temporary database
5) Move the albums to the right place
6) Installl the old database-dump into the mysql system
7) Edit the include/config.inc.php to point to the database created in step 6
8) Run the upgrade.php (no error)
Is this the recommended way?
Observations:
I could log into the system with the admin/admin-password at the beginning of the upgrade-job stored in the database created in step 6
The versioncheck.php shows the startpage with the hint of the maintenance-mode, where it shows the same entries in the top line menu as on the old system.
But I could not log into the system. The window to enter account/password appear as usual, but after clicking "OK" everything disappear and and the error 500 occur in the browser. No error in the apache error log.
May it be no good idea to put the system into maintenance-mode to transfer? Could I get out off that by alter a database entry?
Any help very welcome.
Peter
phill104:
A 500 error is a bi of a generic catch all error. To know what is going on and why you must get the error from your servers logs. If a 500 error occurs it wlll be logged on your system somewhere. As we do not know your server setup we cannot help much in locating that.
peterleinen:
Hi,
I have done a reinstall with the galerie not in maintenance-mode. I could see and browse all albums.
The 500 error disappear, but not the problem with the login resists.
I have uploaded some information from the apache2 log files and a screenshot from the browser console.
Does this show any hints?
I would like to mention at the moment there is not hostname and no vhost configuration available, so the initial url is
ipadress//hondadeauville-forum.de/login.php. May this cause any error?
Regards
Peter
ron4mac:
Were you able to run the update.php file (it asks you to authenticate)?
I tried to register at the gallery (used the IP address in your screen dump) and it fails with an unknown database error when trying to insert my information.
It refers to /var/www/html/hondadeauville-forum.de/include/functions.inc.php - Line: 253 ... having no host configuration may be contributing to the problem.
Check that the database user has ALL access rights to the database.
Also, check in the logs folder for any information.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version