Page 1 of 1

[solved] Permissions failing

Posted: Mon Jul 03, 2017 7:06 pm
by Stryker777
I was on 1.8.1 and upgrading to 1.12.1, then later higher. I am on PHP7 now so I must upgrade because of so many issues. The problem I am running into while upgrading is, the install page keeps saying

Directory not writable! /home/xxxx/public_html/tmp/templates_c
Please correct by executing: chmod 777 or set writing permission for php process, exiting!

After untaring the files I chown -R www-data:www-data * and then chmod 750 tmp/templates_c

That didn't work. So i broke down and set 777 on it and it still gets the same error. It makes no sense to me. The folder is writable.

Any help is appreciated.

Re: Permissions failing

Posted: Tue Jul 04, 2017 2:52 pm
by velden
You might get some extra information by adding ?debug=1 to the upgrade.php url. (assuming CMSMS 1.12)

/install/upgrade.php?debug=1

Re: Permissions failing

Posted: Tue Jul 04, 2017 9:29 pm
by Stryker777
Thank you. Very helpful. There was a drive issue. Dropped to read only right after untarred the files and set the permissions so it couldn't write.
Thank you for the help!

How do I set the topic to [solved] ? There is no edit button for me. Thanks.

Re: Permissions failing

Posted: Sat Jul 29, 2017 7:12 pm
by paulbaker
Stryker777 wrote:How do I set the topic to [solved] ? There is no edit button for me. Thanks.
Done for you