Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

Update setup instructions #4

Open
jfklingler opened this issue Jan 14, 2015 · 1 comment
Open

Update setup instructions #4

jfklingler opened this issue Jan 14, 2015 · 1 comment

Comments

@jfklingler
Copy link

I ran into a few issues setting up OSID on Arch and just wanted to let you know about them. I'm happy to make the edits myself, but didn't want to presume to do so. All of this applies to Setting up OSID v1.0 on Arch Linux ARM. I installed Arch by following these instructions. This was on 2015-01-13, so these issues may be a result of continuous changes in Arch - not sure since I don't usually "do" Arch.

  • Step 11 should also include chown http:http /etc/osid/system -R since those files must be read from/written to.
  • Step 15: When starting samba (systemctl start samba) I received errors to the effect of "bad server role; don't use the samba binary unless you're running a DC". (Sorry, I don't have the exact error anymore.) Instead, enabling and starting both smbd and winbindd solved the problem and made the share accessible from both Windows and OS X.
  • In /etc/nginx/nginx.conf: needed to add fastcgi_param PHP_VALUE open_basedir="/etc/osid"; to the location ~ \.php$ section so that /etc/osid/system and /etc/osid/imgroot could be accessed by the PHP scripts. There may be a better value or place to set this, but I know next to nothing about PHP.
  • In /etc/nginx/nginx.conf: adding error_log /var/log/nginx/error.log made solving the PHP issues much easier.
@th0f
Copy link

th0f commented Jan 14, 2015

Excellent! I was lost a little as permissions were causing problems. These steps fixed it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants