On Wed Aug 13 12:47:49 EDT 2014, Yamakaky wrote:
The rest is still relevant though: updated uWSGI ownCloud working config would be __much__ appreciated!
Sadly, my raspberry pi is officially down at home, so I need to wait two weeks to give you my working config.
No problem, thanks a lot already! How close is ALARM (if that's what you're using) to original Arch (in terms of config directory, apps packaging etc.)? On Wed Aug 13 12:17:53 EDT 2014, Damjan Georgievski wrote:
* what is uwsgi_modifier1 14 directive used for?
That's used for PHP (uwsgi supports other languages too)
* uwsgi_pass directive: is TCP socket required by OC or can we replace it by a unix socket (like it seems to be by default in uwsgi doc [2])?
uwsgi can also use unix domain socket, but more care needs to be taken for permissions
* how do you start the uwsgi process (the wiki mentions a systemd unit file and Emperor but doesn't explain the need for those...)? Etc.
the uwsgi package comes with a systemd service file uwsgi at .service that runs a config file in /etc/uwsgi/, and /etc/uwsgi/emperor.ini but that one runs with www-data/www-data.
Me myself have a /etc/uwsgi/owncloud.ini file which I run as a different user. ... these are my config files now, changed to unix socket:
Thanks a million Damjan, this is of great help. Do you mind if I put a link to your gist on the wiki (ownCloud page, nginx + uwsgi section)? Just two questions: * I see you define two 'root" directives in nginx.conf, a server-wide one (/srv/http) and the / location one (/usr/share/webapps/owncloud): what is the interest of doing so? * I see (from enabled php extensions) you use SQLite? How does it go performance-wise? (if you prefer I can put my questions on the gist comments instead of the ML) Help is much appreciated, thanks.