@tinh_x7 Great. I was able to sign in as newly created 'normal' user to nextcloud. Then I created self signed ssl as I will only use this within LAN. Thank you!
Beiträge von frojnd
-
-
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."
-
Code
ls -la /srv/dev-disk-by-label-z2/www/ drwxr-xr-x 8 frojnd users 12288 Aug 26 12:30 . drwxr-xr-x 5 root root 4096 Aug 25 12:32 .. drwxr-xr-x 14 frojnd frojnd 4096 Aug 13 10:47 nextcloud ls -la /srv/dev-disk-by-label-z2/www/ drwxrwsr-x 3 root users 4096 Aug 25 12:35 . drwxr-xr-x 8 frojnd users 12288 Aug 26 12:30 .. drwxrws---+ 14 www-data www-data 4096 Aug 26 12:31 nextcloud
What did you mean by restrictive permission script?@drinks2go No, sock file doesn't exist. I know it's a generic error message that's why I was pasting the log. I don't know how php-fpm works and I was hoping someone would help me out.
This is nextcloud site nginx conf:
Code
Alles anzeigencat /etc/nginx/sites-enabled/zzz-omv-nginx server { listen 90; listen [::]:90; set $root_path "/srv/dev-disk-by-label-z2/www/nextcloud"; root $root_path; index index.html index.php; set $socket "unix:/var/run/fpm-6311723b-3091-42a6-8576-a2ba08878f2f.sock"; access_log /var/log/nginx/ce12c79e-4b25-4d03-b0a2-99742c4938ee-access.log; error_log /var/log/nginx/ce12c79e-4b25-4d03-b0a2-99742c4938ee-error.log; large_client_header_buffers 4 8k; add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"; add_header X-Content-Type-Options nosniff; add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; location = /robots.txt { log_not_found off; allow all; access_log off; } # The following 2 rules are only needed for the user_webfinger app. # Uncomment it if you're planning to use this app. #rewrite ^/.well-known/host-meta /public.php?service=host-meta last; #rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json # last; location = /.well-known/carddav { return 301 $scheme://$host/remote.php/dav; } location = /.well-known/caldav { return 301 $scheme://$host/remote.php/dav; } # set max upload size client_max_body_size 50G; fastcgi_buffers 64 4K; # Disable gzip to avoid the removal of the ETag header gzip off; # Uncomment if your server is build with the ngx_pagespeed module # This module is currently not supported. #pagespeed off; error_page 403 /core/templates/403.php; error_page 404 /core/templates/404.php; location / { rewrite ^ /index.php$uri; } location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ { deny all; } location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) { deny all; } location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+|core/templates/40[34])\.php(?:$|/) { fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param HTTPS on; #Avoid sending the security headers twice fastcgi_param modHeadersAvailable true; fastcgi_param front_controller_active true; fastcgi_pass $socket; fastcgi_intercept_errors on; } location ~ ^/(?:updater|ocs-provider)(?:$|/) { try_files $uri/ =404; index index.php; } # Adding the cache control header for js and css files # Make sure it is BELOW the PHP block location ~* \.(?:css|js|woff|svg|gif)$ { try_files $uri /index.php$uri$is_args$args; add_header Cache-Control "public, max-age=7200"; add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"; add_header X-Content-Type-Options nosniff; add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; # Optional: Don't log access to assets access_log off; } location ~* \.(?:png|html|ttf|ico|jpg|jpeg)$ { try_files $uri /index.php$uri$is_args$args; # Optional: Don't log access to other assets access_log off; } }
-
Hi there. When going to my ip:90 I get 502 Server error. So I went to nginx logs and I saw this line:
Code2017/08/26 13:07:43 [crit] 1254#0: *1 connect() to unix:/var/run/fpm-6311723b-3091-42a6-8576-a2ba08878f2f.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.60, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/fpm-6311723b-3091-42a6-8576-a2ba08878f2f.sock:", host: "192.168.0.100:90", referrer: "http://192.168.0.100:90/"
I have no idea why nginx thinks there is no .sock file?
I tried to install nextcloud 12.02 on OMV 3.0 (odroid xu4 build)
Any help appreciated.
-
Thank you!
-
Hi there.
This is my first post, please be gentle but let me please say a big thanx to the creators and developers and last but not least helpers here on the openemdiavault forums. Trully a great product!
My problem is that after creating a share I cannot see /media/uuid (I am on Erasmus version of openmediavault).
Are shared folder on other path than "/media" in Erasmus?
I just created a share and that's it: http://i.imgur.com/vu2XLoj.png