Announcement

#1 2023-12-12 01:17:59

balbert
Member
2023-12-12
5

DB upgrade error I believe

While upgrading to 14.0.0 from 13.8.0, I get the screen message below, and Piwigo no longer works.  Is anyone else having this issue?

=== upgrade 164

Offline

 

#2 2023-12-12 02:42:26

erAck
Only trying to help
2015-09-06
2036

Re: DB upgrade error I believe

Try to point your browser to your Piwigo's upgrade.php


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2023-12-12 02:46:21

balbert
Member
2023-12-12
5

Re: DB upgrade error I believe

I did, and I just got the same message over and over.  I manually uploaded the 13.8.0 files and it works now.  So I have to assume something is not upgrading correctly in the DB during the upgrade process to 14.0.0.

Offline

 

#4 2023-12-12 10:48:42

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

Re: DB upgrade error I believe

do you have an error log file where we would get more details about the problem?

Offline

 

#5 2023-12-12 18:50:08

balbert
Member
2023-12-12
5

Re: DB upgrade error I believe

I cannot seem to locate the log files.  I am currently testing in another folder and duplicated db,  It does the same thing when I try to update the duplicated database with version 14.  I did notice that the update says, "Upgrading from version 12.0.0 to 13.8.0," which is incorrect since the version is 14.0.0

Offline

 

#6 2023-12-12 19:24:39

balbert
Member
2023-12-12
5

Re: DB upgrade error I believe

It was the PHP version.  I had upgraded to 8.2.13 before installing the new 14.0.0 update.  I changed it back to PHP 8.0.30, installed the update, and it worked fine.

Offline

 

#7 2023-12-13 01:28:27

matchakitty
Member
2023-02-02
7

Re: DB upgrade error I believe

balbert wrote:

It was the PHP version.  I had upgraded to 8.2.13 before installing the new 14.0.0 update.  I changed it back to PHP 8.0.30, installed the update, and it worked fine.

Is there something specific you did for the update? I am on 8.0, tried switching to 8.3 (don't see 8.0.30), but I can't install the update again. Or does anyone have suggestions of what I can try?

Offline

 

#8 2023-12-13 01:48:01

balbert
Member
2023-12-12
5

Re: DB upgrade error I believe

There is a 8.1.26 that I did not try, but could work.  You might be able to temporarily use a PHP 7 version, and update, then go back to PHP 8+; that might work.  I didn't fully test the problem, but I think the PHP 8+ is creating errors and not completely executing.  But I was able to do it under PHP 8.0.30 twice.

Offline

 

#9 2023-12-13 04:45:13

matchakitty
Member
2023-02-02
7

Re: DB upgrade error I believe

I'm still struggling, I had to revert to an older backup, but there's some data loss in it. I made a clone of my Piwigo installation for now. Never had an issue until this new update, so aggrivating.

Offline

 

#10 2023-12-13 10:35:43

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

Re: DB upgrade error I believe

balbert wrote:

I did notice that the update says, "Upgrading from version 12.0.0 to 13.8.0," which is incorrect since the version is 14.0.0

I had encountered this problem too and this is why we worked on [Github] Piwigo issue #2061

But obviously, disabling opcache was not enough for you. Anyway, that's not a blocking situation. If upgrade script 165 to 170 have been applied, you should be good to go.

Offline

 

#11 2023-12-13 10:38:31

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

Re: DB upgrade error I believe

matchakitty wrote:

I'm still struggling, I had to revert to an older backup, but there's some data loss in it. I made a clone of my Piwigo installation for now. Never had an issue until this new update, so aggrivating.

What is the situation exactly? Piwigo 14 should work on PHP 7.1 to 8.2 (and maybe 8.3, we didn't make a full test for now).

On the other side, Piwigo 13.8.0 does not work on PHP 8.2, so don't try to update Piwigo 13.8 to 14 with PHP 8.2

Offline

 

Board footer

Powered by FluxBB

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