Hi All,
Decided to participate in the beta and upgraded to Beta 2 from my existing 2.9.5 install. Followed the instructions for manual upgrade (see docs).
After the upgrade I got an error message and the script stated that I was already up to date. I re-enabled the gallery and the message disappeared. So other users equally less experienced as I might take comfort in that :-)
All is working well at first sight. I will do some additional testing and report back here.
Happy camper :-)
Greetz,
Sjonnie
Piwigo version: 2.10.0 beta 2
PHP version: 7.0.33
MySQL version: 10.2.23
Offline
Hi Sjonnie,
Sjonnie wrote:
After the upgrade I got an error message and the script stated that I was already up to date. I re-enabled the gallery and the message disappeared.
This is a bug we've had for a long time but it's quite complicated to reproduce :-(
Thank you for your tests.
Have you run the upgrade_feed.php script? Do you have the piwigo_activity table?
Offline
Hi plg,
Yes I have run the upgrade_feed.php. I ran it just now and it said "no upgrades". Forgot what it said the first time I ran the script :/
I do have the piwigo_activity table but it has no data. I suppose that is to be expected?
All in all a rather painless upgrade so thanks to all involved!
Greetz,
Sjonnie
Offline
Sjonnie wrote:
I do have the piwigo_activity table but it has no data. I suppose that is to be expected?
Add a few photos, add an album, add a group, delete a group... and you will see lines in this table.
Offline
@Sjonnie I'd been holding off on trying the beta since there didn't seem to be an "official" upgrade path yet, but since you reported success, I tried the manual method as well.
The first error I saw after upgrading and attempting to access the gallery for the first time was:
Piwigo encountered an unrecoverable error. [mysql error 1146] Table 'piwigo-beta.activity' doesn't exist INSERT INTO activity (object,object_id,action,performed_by,session_idx,ip_address,details) VALUES('user','1','login','1','7uq621p4vc02a8mie2ib4cs7r2','192.168.1.1','a:2:{s:6:\"script\";s:14:\"identification\";s:5:\"agent\";s:69:\"Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko\";}') #1 my_error /usr/local/piwigo-beta/include/dblayer/functions_mysqli.inc.php(132) #2 pwg_query /usr/local/piwigo-beta/include/dblayer/functions_mysqli.inc.php(568) #3 mass_inserts /usr/local/piwigo-beta/include/functions.inc.php(596) #4 pwg_activity /usr/local/piwigo-beta/include/functions_user.inc.php(951) #5 log_user /usr/local/piwigo-beta/include/functions_user.inc.php(1112) #6 pwg_login /usr/local/piwigo-beta/include/functions_plugins.inc.php(214) #7 trigger_change /usr/local/piwigo-beta/include/functions_user.inc.php(1077) #8 try_log_user /usr/local/piwigo-beta/identification.php(63)
Understandable since that table didn't exist yet. And also this a few times:
Notice: Undefined index: display_fromto in /usr/local/piwigo-beta/include/category_cats.inc.php on line 119
I then had some issues running upgrade_feed.php, but it turned out to be my over-enthusiastic security settings preventing access to files ending in *feed.php. So I fixed that and was able to run upgrade_feed.php:
4 upgrades to apply === upgrade 153 Show date period of an album === upgrade 154 add activity table === upgrade 155 add columns session_idx+ip_address in activity table === upgrade 156 bug fixing, change column type for activity.occured_on
That seemed to fix most of the big red messages. Then I had a "Some checksums missing" warning on the Dashboard. So I ran the checksum build and now everything seems good to go.
Offline