![]() |
|
Ubuntu 12.04 Update / Need to Run Setup? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Ubuntu 12.04 Update / Need to Run Setup? (/thread-9895.html) |
Ubuntu 12.04 Update / Need to Run Setup? - performancepixel - 2012-04-28 Updated my server to Ubuntu 12.04 and getting message that ZenPhoto needs to have the setup scripts to run again when visiting site. I realize this requirement probably stems from the MySQL update, but I need to know what files I can copy from the tar ball back into zen photo directory that will let me get to setup again preferably without losing password protected albums/sub-albums and theme customization. Is it the same process as an upgrade as listed here: http://www.zenphoto.org/news/installation-and-upgrading under the Upgrade heading mid page? Also, is there way to make a DB backup without being able to get to the admin functions? Thanks. Tim Ubuntu 12.04 Update / Need to Run Setup? - Laurent - 2012-04-28 You have to upload the zenphoto to your server. The setup file are inside. Laurent Ubuntu 12.04 Update / Need to Run Setup? - acrylian - 2012-04-28 Quote:For the db backup you can use phpmyadmin. Re-running setup does no harm, it's just a cautioness measure that will even be a little refine as regarding why on the coming 1.4.3 release. Ubuntu 12.04 Update / Need to Run Setup? - performancepixel - 2012-04-28 Thanks for the help. I downloaded the latest version and moved the old zenphoto folder before untarring the new one to the zenphoto folder. Then I removed albums and linked to my photo drive as albums. In zenphoto I completed chmod to 755 and chown to apache web process owner and then ran setup. Setup did not have any issues once I gave it the database information. Only post install I needed to do was to move my zpmasonary theme over from the old folder. Lastly, I had to change the default cache time on the static html cache plugin to get the theme update to show on the main page. I did notice a bunch of album entries were fixed as a result of the update. These were like album so and so parent was #### and is now ####. Not sure where those came from, but timbrown.us is back in business. Now to post 800 pix from today's 5k. Thanks again. Tim Ubuntu 12.04 Update / Need to Run Setup? - sbillard - 2012-04-28 The "fixed" items are the linkage from subalbums to their parent. Basically what happens is if the folder structure does not match the database structure the latter gets fixed by setup. This is legacy from an old Zenphoto bug where the parentids were not set properly. Ubuntu 12.04 Update / Need to Run Setup? - performancepixel - 2012-04-28 Thanks for the explanation on that. So what is the best or correct way to move a subalbum? I have some under an album called 'Friends' that I want to move into my 'Year ####' albums. Since it is my server here at home, mv is easy for me, but may cause linkage issues in the DB. Tim Ubuntu 12.04 Update / Need to Run Setup? - sbillard - 2012-04-28 You should always use the album move/copy/rename feature to change an album around. If you move it via the file system or FTP Zenphoto will see it as a new album with the old one missing. |