Hi, I am new to omv and try to set nextcloud up. I have follow the guide on
[How-To] Nextcloud with Letsencrypt using OMV and docker-compose
I am using cloudflare to set A record point to omv and with cname nextcloud. I deploy nextcloud stack under portainer.
I have two problem and need help :
1)Nextcloud website error message : The page isn’t redirecting properly
2) Inside swag log - shall i download the OpenResty's versions?
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html).
My docker-compose file is below :
version: "2"
services:
nextcloud:
image: linuxserver/nextcloud
container_name: nextcloud
environment:
- PUID=1000 #change PUID if needed
- PGID=100 #change PGID if needed
- TZ=FILTER NOT TO EXPOSE #change Time Zone if needed
volumes:
- /srv/dev-disk-by-uuid-036f00b0-3d5a-41cf-b6e9-c83e89b15d91/ABC/nextcloud/config:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
- /srv/dev-disk-by-uuid-036f00b0-3d5a-41cf-b6e9-c83e89b15d91/ABC/nextcloud/data:/data #/srv/dev-disk-by-label-disk1 needs to be adjusted
depends_on:
- mariadb
# ports: # uncomment this and the next line if you want to bypass the proxy
# - 450:443
restart: unless-stopped
mariadb:
image: linuxserver/mariadb
container_name: nextclouddb
environment:
- PUID=1000 #change PUID if needed
- PGID=100 #change PGID if needed
- MYSQL_ROOT_PASSWORD=password #change password
- TZ=FILTER NOT TO EXPOSE #Change Time Zone if needed
volumes:
- /srv/dev-disk-by-uuid-036f00b0-3d5a-41cf-b6e9-c83e89b15d91/ABC/nextclouddb:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
restart: unless-stopped
swag:
image: linuxserver/swag #swag is the replacement for letsencrypt (see link below)
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000 #change PUID if needed
- PGID=100 #change PGID if needed
- TZ=FILTER NOT TO EXPOSE # change Time Zone if needed
- URL=sunmarch.co.in #insert your domain name - yourdomain.url
- SUBDOMAINS=www,nextcloud
- VALIDATION=http
- EMAIL=FILTER NOT TO EXPOSE # define email; required to renew certificate
volumes:
- /srv/dev-disk-by-uuid-036f00b0-3d5a-41cf-b6e9-c83e89b15d91/ABC/swag:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
ports:
- 444:443
- 81:80
restart: unless-stopped
Alles anzeigen
I hope someone able to guide me through this step by step as i am new to this NAS System.
Thank you
_nextcloud_logs.txt_nextclouddb_logs.txt_swag_logs (1).txt