Announcement

#1 2021-03-20 19:12:55

kwgagel
Member
2020-12-03
25

[resolved] Failure in Automatic Update

Hello/Hi/Greetings,

I received this error "Warning: touch(): Utime failed: Operation not permitted in /var/www/pgphotoclub.com/piwigo/admin/include/pclzip.lib.php on line 3857" but the update says it was successful. What should I do?


    Update complete
    11.4.0

Current:
    Piwigo 11.4.0
    Operating system: Linux
    PHP: 7.4.15 (Show info) [2021-03-20 18:11:29]
    MySQL: 5.7.33 [2021-03-20 18:11:29]
    Graphics Library: ImageMagick 6.9.10-68

Upgraded from:
    Piwigo 11.3.0
    Operating system: Linux
    PHP: 7.4.15 (Show info) [2021-03-20 17:59:50]
    MySQL: 5.7.33 [2021-03-20 17:59:50]
    Graphics Library: ImageMagick 6.9.10-68

Piwigo URL: https://www.pgphotoclub.com/piwigo/

Offline

 

#2 2021-03-20 21:29:28

erAck
Only trying to help
2015-09-06
1026

Re: [resolved] Failure in Automatic Update

It's a warning, not an error. Apparently your web server environment doesn't allow a PHP script to touch/change a file's modification time. Code in admin/include/pclzip.lib.php on line 3857 is

          touch($p_entry['filename'], $p_entry['mtime']);


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

Offline

 

#3 2021-03-21 00:26:02

kwgagel
Member
2020-12-03
25

Re: [resolved] Failure in Automatic Update

Is this going to cause an issue going forward?
Should I be applying a change to permissions - what?

Offline

 

#4 2021-03-21 13:02:44

erAck
Only trying to help
2015-09-06
1026

Re: [resolved] Failure in Automatic Update

It shouldn't harm, it has the consequence that files unpacked from a zip will have the current (when unpacked) datetime instead of the original datetime they were stored with in the zip.

As to why touching a file is disabled in your environment or how that restriction could be removed talk to your hoster.


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

Offline

 

#5 2021-03-21 17:34:43

kwgagel
Member
2020-12-03
25

Re: [resolved] Failure in Automatic Update

OK, thank you erAck, I'll look into getting the setup changed so touch will work in the future.

Offline

 

Board footer

Powered by FluxBB

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