Announcement

  •  » Beta testing
  •  » Beta 2 - 2.10 - Painless upgrade with a hickup

#1 2019-07-07 14:37:22

Sjonnie
Member
2018-09-23
11

Beta 2 - 2.10 - Painless upgrade with a hickup

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

 

#2 2019-07-07 16:04:01

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Beta 2 - 2.10 - Painless upgrade with a hickup

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

 

#3 2019-07-07 16:35:55

Sjonnie
Member
2018-09-23
11

Re: Beta 2 - 2.10 - Painless upgrade with a hickup

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

 

#4 2019-07-07 21:10:29

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Beta 2 - 2.10 - Painless upgrade with a hickup

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

 

#5 2019-07-26 03:04:07

windracer
Member
St. Pete, FL
2014-12-28
448

Re: Beta 2 - 2.10 - Painless upgrade with a hickup

@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:

Code:

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:

Code:

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:

Code:

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

 
  •  » Beta testing
  •  » Beta 2 - 2.10 - Painless upgrade with a hickup

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact