Announcement

#1 2023-05-11 00:33:44

nickO
Member
2021-01-11
26

Upgrade fails due to write-protected files.

Hello,

I am getting an upgrade error when I try to upgrade from 13.6.0 to 13.7.0. Snippet below and the full message over in Pastebin: https://pastebin.com/pFNQDTiM

Usually, upgrade are seamless, so I am not sure why I am getting this error all of a sudden.

Any help with this would be greatly appreciated.

Thanks,
Nick.

Code:

COPYING.txt: write_protected
tools/ws/ws.js: write_protected
install.php: write_protected
action.php: write_protected
include/functions_plugins.inc.php: write_protected
include/picture_comment.inc.php: write_protected
include/functions_comment.inc.php: write_protected
include/dblayer/functions_mysqli.inc.php: write_protected
include/common.inc.php: write_protected
include/constants.php: write_protected
include/ws_functions/pwg.categories.php: write_protected

Environment

    Piwigo 13.6.0 Check for upgrade
    Installed on 7 October 2022, 7 months 3 days ago
    Operating system: Linux
    PHP: 8.1.18 (Show info) [2023-05-10 23:26:02]
    MySQL: 10.6.12-MariaDB-log [2023-05-10 23:26:02]
    Graphics Library: ImageMagick 7.1.0-62
    Cache size 1312.81 Mo   calculated 1 month ago Refresh

Activated plugin list 8

    Community
    LocalFiles Editor
    OpenStreetMap
    Rotate Image
    ShareAlbum
    Smilies Support
    Take A Tour of Your Piwigo
    VideoJS



Piwigo URL: https://piwigo.thecobwebs.duckdns.org

Offline

 

#2 2023-05-11 09:39:05

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

Re: Upgrade fails due to write-protected files.

I don't understand how Piwigo 13.7.0 could be in fault here: as far as I've seen, there is no change related to the update system.

Offline

 

#3 2023-05-11 13:02:22

erAck
Only trying to help
2015-09-06
1995

Re: Upgrade fails due to write-protected files.

It most likely is not.. Check the directories and files ownerships and permissions.


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

Offline

 

#4 2023-05-12 11:09:08

nickO
Member
2021-01-11
26

Re: Upgrade fails due to write-protected files.

Hello all,

Thanks for your responses. I came into work this morning and just checked it again and it now says its running the latest version. Very odd, so not sure how this could have happened but glad to be using the latest version now.

All the best,
Nick.

Offline

 

#5 2023-05-12 13:13:17

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

Re: Upgrade fails due to write-protected files.

nickO wrote:

[...] now says its running the latest version

It can be the case only if you update include/constants.inc.php (which contains the version number). Make sure the other files have been updated too.

Offline

 

#6 2023-05-12 15:42:58

nickO
Member
2021-01-11
26

Re: Upgrade fails due to write-protected files.

Thank you, how do I check the other files, please?

Thanks,
Nick.

Offline

 

Board footer

Powered by FluxBB

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