NextCloud Installation Q & A
-
- OMV 3.x
- tinh_x7
-
-
Can you ls -la /etc/php5/fpm/pool.d and post the directory listing? I suspect you have no conf for that fpm pool.
It's not difficult to create one but I'd be concerned as to why it's not there in the first place, is there other things with the install which is broken.
I'm not so sure the permissions script will ameliorate the issue with no unix socket/fpm pool configuration for nextcloud, HOWEVER, I don't use that software and am just troubleshooting based on some experience with web development.
To be sure, your install won't work until that .sock file appears, along with the correlating conf in fpm/pools.d . I'm just not sure if that was supposed to happen automagically or if you missed a step in the install (I haven't had more than a cursory glance at this guide)
-
Your vhost & permissions config are fine.
Like the others said it could be your PHP pool config is missing or misconfigured.
Step 1e is for the PHP pool config.
Double check the guide or re-install NextCloud. -
Code
ls -la /etc/php5/fpm/pool.d total 36 drwxr-xr-x 2 root root 4096 Aug 25 12:39 . drwxr-xr-x 4 root root 4096 Aug 26 13:21 .. -rw-r--r-- 1 root root 351 Aug 25 12:39 openmediavault-mysql-management-site.conf -rw-r--r-- 1 root root 1384 Jul 17 08:55 openmediavault-webgui.conf -rw-r--r-- 1 root root 18324 Feb 8 2017 www.conf
@tinh_x7 I went through step 1e and noticed I am missing: description field. Also my fields for max post and max upload were different. After changing those I was able to access nextcloud installationi process. However when I entered mysql root password and create admin and clciked finish installation after a minute or so I got:
This site can’t provide a secure connection
ERR_SSL_PROTOCOL_ERRORPlease note, I didn't enable ssl since in the tutorial it said: "Note: It would easier to begin the setup with HTTP than HTTPS. After the installation is done, you can change it to HTTPS, and use Let's Encrypt for your encryption if you want."
-
That's a progress.
Max post and max upload aren't matter in this case.
These parameters let you define your upload max size files.Turn off the HTTPS option in the vhost config, and reload the nginx service.
After you have NC running like it suppose to, then you can re-enable HTTPS if you have the SSL certficate.Change this
fastcgi_param HTTPS on;to
fastcgi_param HTTPS off;Then run:
sudo service nginx restartNote:
For Clarification: the NextCloud vhost codes are set with HTTPS ON by default in my installation guide.
Ensure to set HTTPS off in the vhost codes like above example if you not use SSL. -
-
I used the docker image linuxserver/nextcloud and the default parameter to arrive at step 7b, but I can't get through to build MySQL, do I need to install MySQL, Nginx and Redis as suggested in Step 1a or other steps to complete the installation?
-
Docker image should come with MySQL already.
Basically it runs with its own MySQL.But for Redis, and Nginx are required to be install.
-
Hi, first of all thanks for the nextcloud tutorial - it worked perfectly, at least until yesterday
I had it running for a month now and yesterday I ran into timeouts while uploading data into the cloud. After a restart I got a "bad gateway" error, when checking the error log I got this, see below. (sock failed no such file or directory)
I tried to fix it myself but unfortunately I am not used to work with linux. I didnt change permissions updated nextloud.
Any help is highly appreciated!
Code2017/09/20 23:47:55 [crit] 6366#0: *14 connect() to unix:/var/run/fpm-34c7e7c6-933e-424b-97ee-8b5c99892767.sock failed (2: No such file or directory) while connecting to upstream, client: 217.225.220.92, server: , request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/fpm-34c7e7c6-933e-424b-97ee-8b5c99892767.sock:", host: "nas.XXdeletedXX.net:443"
I might add that i dont find a "fpm-34c7e7c6-933e-424b-97ee-8b5c99892767.sock" file in var/run/
-
Hm, after checking nginx configs and restarting nginx multiple times I just restarted mysql and now it works. Strange, but.. good?
-
Are you running MySQL with any other web servers?
You can repair the MySQL database with this guide: https://manage.accuwebhosting.…Windows-Command-Line.html
FYI: I haven't test the command. -
Hello,
After upgrading to omv 4.0.5-1, i have a 502 bad gateway error on the http and https nextcloud web access.
My OMV webaccess is working fine.
I've the same error as dazzil
I already restarted nginx and MySQL
-
My problem was very strange but I solved it: Reason for timeouts and php errors was caused by one mobile nextcloud app, which created so many logins that somehow the server went down. After reinstalling the app and clearing the bruteforce table of nextcloud, nextcloud is running fine again.
-
You can check the NextCloud log for errors via SSH.
path: .../www/nextcloud/data/nextcloud.logBrute Force feature can also cause slow log in.
-
hi i tried to install the plugin according to the manual
but it stopped at the first stepCoderoot@openmediavault:~# apt-get install php5-curl Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Package php5-curl is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php5-curl' has no installation candidate
can somebody help me with this issue?
i tried also to update and upgrade but this was also not working
-
Are you using OMV 4.x?
-
Are you using OMV 4.x?
No I'm using 3.x
Gesendet von meinem Nexus 5X mit Tapatalk
-
Your repos must be wrong. What is the output
of:cat /etc/apt/sources.list
apt-get update -
Code
Alles anzeigenroot@openmediavault:~# cat /etc/apt/sources.list # # deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170731-21:43]/ jessie contrib main non-free #deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170731-21:43]/ jessie contrib main non-free deb http://ftp2.de.debian.org/debian/ jessie main deb-src http://ftp2.de.debian.org/debian/ jessie main deb http://ftp.de.debian.org/debian-security/ jessie/updates main contrib non-free deb-src http://ftp.de.debian.org/debian-security/ jessie/updates main contrib non-free # jessie-updates, previously known as 'volatile' deb http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free
apt-update
-
Your repos look ok but I had a typo in my other command. It should be apt-get update
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!