Please help us by providing the following info. Before posting please also check the pinned “Known issues” threads and make sure that you’re running the latest available version for your oC release: Changelog - ownCloud
Steps to reproduce
1.
2.
3.
Expected behaviour
When requesting the website of owncloud, cloud.home.hub I expected to see the webpage of my owncloud server.
Actual behaviour
I get a page that tells me that it needs time to process, and I should contact my admin.
In the logs I get this line:
2016/12/30 18:47:29 [crit] 617#617: *1 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 10.0.1.116, server: cloud.home.hub, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “cloud.home.hub”
/var/run/php5-fpm.sock exists on my oc-server.
Server configuration
Operating system: Debian
Web server: nginx/1.9.10
Database:(PostgreSQL) 9.4.9
PHP version:PHP 5.6.29-0+deb8u1 (cli)
ownCloud version (see ownCloud admin page):9.1.3
Updated from an older ownCloud or fresh install: made an update from an older version to the version mentioned above.
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):I use a second harddirve to store my uploaded files to.
Sorry that I didn’t mention that, it can’t start. When trying to execute that command you mentioned, you get: Failed to start php-fpm.service: Unit php-fpm.service failed to load: No such file or directory.
I didn’t pay attention if it was installed during the installation of oc, so I assume that it was a requirement of oc. In /etc/init.d/ there is php5-fpm.
There are different ways to use php on different webservers. And each distribution names the packages a bit differently, so the command is service php5-fpm restart. If it still doesn’t work, check your logfiles for errors during the startup of php5-fpm and verify that the socket path in the php-configuration and nginx-configuration are the same.
The rest of the configuration doesn’t look bad, it’s probably close to the default one. If removing the snmp-stuff doesn’t help, you can also turn on the logging.
Sorry for being absent.
I’m not aware of installing something called ‘php-snmp’. Doing an apt-cache search php5-snmp revealed me the package. After uninstalling that package, I restarted the system which didn’t change anything.
Since I’m a new user I cannot upload any files, I would have uploaded the nginx.conf file for owncloud.
Just get in touch with a community dedicated for your distro about this. This is not an issue of ownCloud and you can get far better support with distro specific stuff if you ask people knowing that distro.