Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 21, 20222 yr Today I tried to upgrade my form to 4.7, and got almost to the end when it gave me the error CANNOT_WRITE .../system/File/FileSystem.php:337 The file in question, and its parent directories all have the same permissions as before, and the installation made it most of the way through before throwing the error. Both "Retry" and "Continue" just loop back to the same error message. I don't see that anyone else in this forum has had a similar problem, so I'm posting this here to see if anyone has any ideas.
August 21, 20222 yr Some servers return errors with 777 permissions. Try using 644. Also I see the file owner is root, is it possible the other files are actually owned by a different user/group? A chmod might work as well. Edited August 21, 20222 yr by teraßyte
August 22, 20222 yr Usually the above will be related to suPHP/suExec if it needs different permissions than 777. Only your hosting company can answer the question for certain
September 4, 20222 yr Author Solution No hosting company here. Just a plain Ubuntu 20.04 server. I found the solution: Change the owner and group of everything in the forum subdirectory to www-data. sudo chown -R www-data:www-data
September 5, 20222 yr On 9/4/2022 at 10:32 PM, HAIF said: No hosting company here. Just a plain Ubuntu 20.04 server. I found the solution: Change the owner and group of everything in the forum subdirectory to www-data. sudo chown -R www-data:www-data Glad to hear you found the resolution to the issue there.