Lack of interest Verify if ownername:groupname is the same before upgrade

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

rosal

Active member
After testing the upgrade mode by cli i learned if you use root user you will have problems later, the upgrade end without problems but wen you start using the forums the errors appears.

Errors like this wen you try to change some layout configs, and try to send uploads.
Code:
/data/attachments/11/111111111111.jpg): failed to open stream: Permission denied src/vendor/league/flysystem/src/Adapter/Local.php:157

Code:
rrorException: [E_WARNING] file_put_contents(/home/xxxx/public_html/xxxxx/internal_data/code_cache/templates/l0/s3/public/extra.less.php): failed to open stream: Permission denied src/vendor/league/flysystem/src/Adapter/Local.php:199


So i will suggest the cli toll make a check to the ownername:groupname before upgrading and if its different gives a warning.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Rule of thumb: Do not execute commands as root unless you have to :)

Officially supported "workaround": Set the user via config.php
PHP:
$config['forceCliUser']

 
Uauuu someone already talked about this.
Thanks for the info.

Can you explain how can i use the $config['forceCliUser']
If i have ownername:groupname where i can define this?
 
Top Bottom