NC11 needs 5.6...
Owncloud 8 and MySQL: alternative approach
-
- OMV 2.x
- Enra
-
-
Hi,
Habe vor einiger Zeit OC nach dieser Klasse Anleitung installiert und würde jetzt gerne zu Nextcloud wechseln.
Hat das eventuell schon jemand gemacht?
Danke und Gruß
Gesendet von iPhone mit Tapatalk
-
ja, habe NC11 mit OMV3 und mysql am laufen. Es läuft gut und stabil.
sollte aber genau so auch unter OMV2 laufen -
Hast du von OMV 2.x auf 3 upgedated oder neu installiert?
Gleiche Frage für NC, Update von OwnCloud nach Nextcloud oder neu Installation?
Ich würde gerne erstmal nur Nextcloud updaten wollen und wollte wissen ob das eventuell jemand gemacht hat.
Danke
Gesendet von iPhone mit Tapatalk
-
Hast du von OMV 2.x auf 3 upgedated oder neu installiert?
Gleiche Frage für NC, Update von OwnCloud nach Nextcloud oder neu Installation?
Ich würde gerne erstmal nur Nextcloud updaten wollen und wollte wissen ob das eventuell jemand gemacht hat.
Danke
Gesendet von iPhone mit Tapatalk
ich hatte schon sehr früh ein omv3 system auf dem ich OC hatte. OC habe ich dann manuell auf NC geupdatet: Sambafreigabe aud den OC Ordner und alles bis auf config und data gelöscht. Danach die entpackten NC daten eingefügt. dabei muss man aufpassen das man alle Dateien mitnimmt (versteckte Dateien auch kopieren) Update läuft dann wenn man die Seite wieder aufruft.
NC11 habe ich allerdings neu aufgesetzt. -
Anybody in here having issue with NC11 that said: "Too many redirects." ?
-
Anybody in here having issue with NC11 that said: "Too many redirects." ?
no i haven't
-
I found the issue: I having this error b/c I was trying out the Nginx codes that they provided.
-
Anybody in here having issue with NC11 that said: "Too many redirects." ?
Yes I do!
I suppose it has something to do with the extra options under Server settings in nginx.A solution would be appreciated - tnx.
/Lars
Sent from my iPhone using Tapatalk Pro
-
Some users experience this issue with NC11.
Post your Nginx codes here, and maybe some others can chime in. -
Warum will NextCloud, dass ich auf OwnCloud update? Hmm..
-
If you are on NC 9 or NC 10, I advise against upgrade to NC11.
It's buggy; many errors. -
Is there a tutorial for OMV3 and NC? Or is it just the same?
-
I've used the same tutorial.
-
I cant finde the nginx option to create a new pool. It seems its not there in the german ui version? Or maybe its because I use erasmus?
-
It's on the last tab of Nginx.
-
I cant finde the nginx option to create a new pool. It seems its not there in the german ui version? Or maybe its because I use erasmus?
Did you install the openmediavault-nginx plugin?
-
I thought so since the webserver was nginx but yet that you mention it... nope, I'm going to do that
-
Yes I do!
I suppose it has something to do with the extra options under Server settings in nginx.A solution would be appreciated - tnx.
/Lars
Sent from my iPhone using Tapatalk Pro
I think I fixed the to many redirects thing:
I took the config from the nextcloud site here:
https://docs.nextcloud.com/ser…n/nginx_nextcloud_9x.htmland changed it to fit my needs:
Code
Alles anzeigen# Add headers to serve security related headers # Before enabling Strict-Transport-Security headers please read into this # topic first. # 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; } 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(?:$|/) { include fastcgi_params; fastcgi_split_path_info ^(.+\.php)(/.*)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param HTTPS off; #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 headers to serve security related headers (It is intended to # have those duplicated to the ones above) # Before enabling Strict-Transport-Security headers please read into # this topic first. # 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; }
Also you need to disable the 'default config' option in the server settings. Its the last option in the php section.
Since I dont use ssl I disabled https in the config, if you want to use it you should enable it again.Then restart nginx and dont forget to purge your browser cache.
Edit: Added headers
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!