Comments on: Install Nextcloud 9 on Ubuntu 16.04 https://www.rosehosting.com/blog/install-nextcloud-on-ubuntu-16-04/ Premium Linux Tutorials Since 2001 Mon, 12 Dec 2022 10:40:36 +0000 hourly 1 https://wordpress.org/?v=6.5.4 By: admin https://www.rosehosting.com/blog/install-nextcloud-on-ubuntu-16-04/#comment-46619 Thu, 01 Feb 2018 10:05:11 +0000 https://www.rosehosting.com/blog/?p=19430#comment-46619 In reply to Cristian.

The error message shows you that /etc/nginx/ssl/nextcloud.crt doesn’t exist. You need to edit the Nginx virtual server block and use the correct path to your SSL certificate.

]]>
By: Cristian https://www.rosehosting.com/blog/install-nextcloud-on-ubuntu-16-04/#comment-46614 Wed, 31 Jan 2018 14:53:16 +0000 https://www.rosehosting.com/blog/?p=19430#comment-46614 I has a problem in the step:
Test the Nginx configuration and restart nginx:
[user]$ sudo nginx -t
[user]$ sudo service nginx restart

In my server apper this error:
nginx: [emerg] BIO_new_file(“/etc/nginx/ssl/nextcloud.crt”) failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(‘/etc/nginx/ssl/nextcloud.crt’,’r’) error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

And i try restart the service, but appert this error:
Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.

I’m check the error in the systemctl and appear:
● nginx.service – A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-01-31 15:50:29 CET; 1min 7s ago
Process: 48046 ExecStop=/sbin/start-stop-daemon –quiet –stop –retry QUIT/5 –pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 48202 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 47965 (code=exited, status=0/SUCCESS)

Jan 31 15:50:29 GOLD-CLOUD-002 systemd[1]: Starting A high performance web server and a reverse proxy server…
Jan 31 15:50:29 GOLD-CLOUD-002 nginx[48202]: nginx: [emerg] BIO_new_file(“/etc/nginx/ssl/nextcloud.crt”) failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(‘/etc/nginx/ssl/nextcloud.crt’,’r’) error:2006D080:
Jan 31 15:50:29 GOLD-CLOUD-002 nginx[48202]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jan 31 15:50:29 GOLD-CLOUD-002 systemd[1]: nginx.service: Control process exited, code=exited status=1
Jan 31 15:50:29 GOLD-CLOUD-002 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Jan 31 15:50:29 GOLD-CLOUD-002 systemd[1]: nginx.service: Unit entered failed state.
Jan 31 15:50:29 GOLD-CLOUD-002 systemd[1]: nginx.service: Failed with result ‘exit-code’.

Could you helpme please.

Thanks.

]]>
By: admin https://www.rosehosting.com/blog/install-nextcloud-on-ubuntu-16-04/#comment-45592 Fri, 14 Apr 2017 22:32:58 +0000 https://www.rosehosting.com/blog/?p=19430#comment-45592 In reply to Martin.

Please see: https://serverfault.com/questions/627903/is-the-php-option-cgi-fix-pathinfo-really-dangerous-with-nginx-php-fpm

]]>
By: Martin https://www.rosehosting.com/blog/install-nextcloud-on-ubuntu-16-04/#comment-45591 Fri, 14 Apr 2017 15:18:16 +0000 https://www.rosehosting.com/blog/?p=19430#comment-45591 Thanks a lot, but why do you recommend the PHP setting “cgi.fix_pathinfo=1”?
Afaik it should always be set to “0” or am I mistaken here?

]]>
By: SaJo https://www.rosehosting.com/blog/install-nextcloud-on-ubuntu-16-04/#comment-45102 Sat, 19 Nov 2016 10:02:03 +0000 https://www.rosehosting.com/blog/?p=19430#comment-45102 Great tutorial!!!

All is working very smooth but I have some problems regarding the rooting. I’m using exactyl the same /etc/nginx/sites-available/nextcloud file except the setup for the server_name.

My problem is, if i type in this server name into my browser i get a Access denied page from nextcloud. Why?
I have built up my directory structure exactly the same way as it is denoted inside your tutorial. When I enter server_name/nextcloud everything works fine. But it also works fine independent of what i type after the “/”.
So it also works for example: server_name/abcd

It redirects me then directly to the login prompt of nextcloud.
I’m not an expert regarding setup the nginx hosts…. So i would appreciate every help on this topic.

Thanks in advance!!

]]>
By: admin https://www.rosehosting.com/blog/install-nextcloud-on-ubuntu-16-04/#comment-45066 Fri, 04 Nov 2016 19:55:48 +0000 https://www.rosehosting.com/blog/?p=19430#comment-45066 In reply to Maruf.

Make sure the password for the ‘super’ MySQL user is correct, or check if ‘super’ MySQL user actually exists.

]]>
By: Maruf https://www.rosehosting.com/blog/install-nextcloud-on-ubuntu-16-04/#comment-45062 Thu, 03 Nov 2016 10:02:26 +0000 https://www.rosehosting.com/blog/?p=19430#comment-45062 I have this error
SQLSTATE[HY000] [1045] Access denied for user ‘super’@’localhost’ (using password: YES) What should I do????

]]>
By: admin https://www.rosehosting.com/blog/install-nextcloud-on-ubuntu-16-04/#comment-45001 Thu, 29 Sep 2016 11:03:46 +0000 https://www.rosehosting.com/blog/?p=19430#comment-45001 In reply to steve.

When binary logging is enabled, MySQL performance is somewhat slower. But, if binary logging is enabled, MySQL should survive a crash or dirty shutdown and recover on the next start. So, you can enable binary logging if want to play it on the safe side.

]]>