Jump to:

4952 Posts in 14338 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » File Permissions 3 Failed and 0 Warnings

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 445 Views
  • BlueGrass
    Avatar
    Community Member
    2 Posts

    File Permissions 3 Failed and 0 Warnings Link to this post

    Hello all,

    I am new to SS and have been trying to install SS 3.1.2 on CentOS 6.5. I have tried Composer and direct installation but both end-up with the same set of errors. Everything goes fine until I connect to http://myhost.mydomain.com that takes me to install.php where I get below errors:

    The webserver user needs to be able to write to this file:
    /var/www/html/.htaccess
    The webserver user needs to be able to write to this file:
    /var/www/html/mysite/_config.php
    The webserver user needs to be able to write to this file:
    /var/www/html/assets

    I have followed the instructions and setup the correct owner as:
    #chown -R apache:apache /var/www/html/silverstripe

    And also set the correct permissions as:
    #chmod 755 -R /var/www/html/silverstripe/assets
    #chmod 755 /var/www/html/silverstripe/./htaccess
    #chmod 755 /var/www/html/silverstripe/mysite/_config.php

    After spending almost 2 days non-stop on this I am unable to install SS on my server. I am not sure what else to do? I've read almost every web post related to the issue and tried to follow solutions but nothing seems to fix it.

    Any help with the resolution is appreciated in advance.

    Thanks,
    Blue

    Attached Files
  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: File Permissions 3 Failed and 0 Warnings Link to this post

    Hello,

    Is SELinux enabled? That could what's causing the permission problems, even though you've set the group and write permissions correctly.

    Sean

  • BlueGrass
    Avatar
    Community Member
    2 Posts

    Re: File Permissions 3 Failed and 0 Warnings Link to this post

    Hi Sean,

    You are correct, I guess the SELinux was the issue. I gave up on the Composer install and went ahead with the individual install on a brand new VM and it worked. I was able to setup the CMS and update sample website as a generic user under /home/testuser/public_html/silverstripe directory and the site worked fine. However, I couldn't set up a site under /var/www/html/silverstripe directory. Any thoughts?

    Thanks

    445 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.