[solved] Permissions failing

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Stryker777
Forum Members
Forum Members
Posts: 17
Joined: Sat Mar 08, 2008 4:21 am

[solved] Permissions failing

Post 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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Permissions failing

Post 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
Stryker777
Forum Members
Forum Members
Posts: 17
Joined: Sat Mar 08, 2008 4:21 am

Re: Permissions failing

Post 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.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Permissions failing

Post by paulbaker »

Stryker777 wrote:How do I set the topic to [solved] ? There is no edit button for me. Thanks.
Done for you
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Post Reply

Return to “The Lounge”