Jump to content

CANNOT_WRITE error during 4.7 upgrade


Go to solution Solved by HAIF,

Recommended Posts

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.

Posted (edited)

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
Posted

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...
  • Solution
Posted

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

Posted
11 hours ago, 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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...