Jump to content

Featured Replies

Posted

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

Could contain: Text

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.

Could contain: Text, Number, Symbol

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.

Solved by HAIF

Go to solution

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 by teraßyte

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

  • 2 weeks later...
  • 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

  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.