Install fails
This is an open discussion with 10 replies, filed under Installation.
Search
what are you the permission set to the directory you’re installing this in?
Looks like permissions on /manifest
are off. You need to set write permissions on the manifest folder.
I’m trying to install this in public/ (my root web directory). The manifest folder doens’t exist until I run the install at least once and fails. I tried to change permissions on manifest folder but the server won’t allow it, saying remote chmod is not permitted. Tried this with both ssh and FTP…
More info:
Permissions on public is 775, I changed this to 777 but seems to make no difference. Permissions on manifest folder is set to 775, with owner and group set to “25000”. These are both different from my other files, and server won’t allow me to change it either, saying “SITE CHOWN not understood”.
Ok, the issue was that safe mode was on in my sever. Moved to a safe mode off server and installed fine.
However, another problem trying to do a clean up:
chmod -R 775 manifest
chmod: manifest/logs/main: Operation not permitted
Is this OK?
I suggest the server requirements page mention that safe mode must be off..
Another issue: I got to the admin login page, entered my info and then I got redirected to a 403 forbidden. What gives?
I set permissions to 775 on symphony folder and now I can access the publish page. This is really confusing, because the instructions explicitly states:
Second, let’s tighten up the permissions you loosened in Step 3. You’ll want to set the root directory and the symphony/ directory to 644. Then set manifest/ and workspace/ to 775 (make the workspace/ permissions recursive, so they apply to its subdirectories as well).
Can someone explain this?
This whole permissions thing depends on the users on the server. Many servers use different users for FTP and PHP, which requires rather loose permissions. Some (like Debian machines) actuallly have the same user for FTP and PHP, which allows (and maybe asks for) much tighter permissions.
If you want to edit files written by PHP via FTP, you might even need “777” permissions on these files.
It took me a while to wrap my mind around this. I don’t think that it’s something that can be solved by Symphony.
in case this helps anyone, i resolved my php-related permissions issue on my pair.com servers using a php "script wrapper" so that these scripts now execute under my own userid and group instead of user nobody (which was giving me issues and chmod and chown did not remedy the issue).
More details are here:
http://kb.pair.com/f25
Create an account or sign in to comment.
Something is wrong with my config but can’t figure it out.. Also, since my root dir is public/ and my host won’t allow me to delete the folder, I cannot install to public/ as that would require me to delete public per instructions. I would like to do this the git way. Please help. Here’s the install log: