i have installed ownCloud 10.0.2 and i have several problems. I use a raspberry with the operating system "jessie lite".
With this command "sudo service nginx restart" i get the following messages: Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
If i enter this command "nginx -t", then i get the following error messages: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied) 2017/06/11 08:33:49 [warn] 1007#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1 2017/06/11 08:33:49 [emerg] 1007#0: "gzip" directive is duplicate in /etc/nginx/sites-enabled/owncloud:1 nginx: configuration file /etc/nginx/nginx.conf test failed
I have already tried a lot and will not go any further. Can someone help me? Sorry for my english, i live in germany. ;o)
I use nginx because it is more resource-friendly than apache. Would be great if you install the nginx with you on the raspy. I just do not know if the problem is solved here. I need to deal more with the error messages. I'm back online next week Tuesday, as I am on the road.
The posted error messages looks more like issues in your nginx config. For that you probably need to ask some one from a nginx support forums to get help.
Thanks for your help. My cloud is working now. I have removed the line with the command "gzip off" in the configuration file. What does this command stand for?