Hi, for the first time today I installed Nextcloud 10 on my ODROID (similar to a raspberry pi) with Ubuntu 16.04. I already install Nextcloud in the past but on Apache. I choose nginx because is lighter.
The components I use are: PHP 7.0.8, nginx 1.10.0 and MariaDB 10.0.
After the installation and the initial configuration, the wizard got stuck on “Completing…”, if I try to access http:/// I get a 404 error as you can see in the image.
These are all the php packages I installed:
php-common
php-gettext
php-imagick
php-pear
php-xml
php7.0-cli
php7.0-common
php7.0-curl
php7.0-fpm
php7.0-gd
php7.0-imap
php7.0-intl
php7.0-json
php7.0-mbstring
php7.0-mcrypt
php7.0-mysql
php7.0-opcache
php7.0-pspell
php7.0-readline
php7.0-recode
php7.0-sqlite3
php7.0-tidy
php7.0-xml
php7.0-xmlrpc
php7.0-xsl
php7.0-zip
The following is the site nextcloud I configurated on nginx
upstream php-handler {
server unix:/run/php/php7.0-fpm.sock;
}
# Default server configuration
#
server {
listen 80 default_server;
listen [::]:80 default_server;
# SSL configuration
#
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
ssl_certificate /etc/nginx/ssl/certificate.crt;
ssl_certificate_key /etc/nginx/ssl/private.key;
#
# Note: You should disable gzip for SSL traffic.
# See: https://bugs.debian.org/773332
#
# Read up on ssl_ciphers to ensure a secure configuration.
# See: https://bugs.debian.org/765782
#
# Self signed certs generated by the ssl-cert package
# Don't use them in a production server!
#
# include snippets/snakeoil.conf;
root /var/www/nextcloud;
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html index.php;
server_name name.dyndns.info;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
include snippets/fastcgi-php.conf;
#
# # With php7.0-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php7.0-fpm:
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
The nextcloud folder is in /var/www/nextcloud with owner www-data:root, and the folder with the files is in /nextcloud mounted on a NFS share, with owner www-data:root.
I checked the logs of nginx, php7.0 and nextcloud, but they are all empty.