Hello NC AIO community !
**I’am rookie with NC AIO and Docker in General- **
**i installed AIO for ubuntu Following official guidance (hopefully) **
. i used the this run command
sudo docker run --init --sig-proxy=false --name nextcloud-aio-mastercontainer --restart always --publish 8080:8080 --env APACHE_PORT=11000 --env APACHE_IP_BINDING=0.0.0.0 --env SKIP_DOMAIN_VALIDATION=true --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config --volume /var/run/docker.sock:/var/run/docker.sock:ro nextcloud/all-in-one:latest
i have installed apache in my host machine - my configuration for the reverse proxy is
<VirtualHost *:80>
ServerName mydomain.com
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteCond %{SERVER_NAME} =cloud.ibnhamza.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
<VirtualHost *:443>
ServerName mydomain.com
# Reverse proxy based on https://httpd.apache.org/docs/current/mod/mod_proxy_wstunnel.html
RewriteEngine On
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:11000/ nocanon
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteCond %{THE_REQUEST} "^[a-zA-Z]+ /(.*) HTTP/\d+(\.\d+)?$"
RewriteRule .? "ws://localhost:11000/%1" [P,L]
# Enable h2, h2c and http1.1
Protocols h2 h2c http/1.1
# SSL
SSLEngine on
Include /etc/letsencrypt/options-ssl-apache.conf
# Disable HTTP TRACE method.
TraceEnable off
<Files ".ht*">
Require all denied
</Files>
# Support big file uploads
LimitRequestBody 0
SSLCertificateFile /etc/letsencrypt/live/cloud.ibnhamza.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/cloud.ibnhamza.com/privkey.pem
i’m getting all containers running
in browser using my ip host adress :8080 i get this
when i try to login after runing
sudo docker stop nextcloud-aio-apache
i get
.
and login with provided pass phrase is not succesfull (says :The password is incorrect.)
accessing from internet to my nextcloud using my domain name gives me this : DNS_PROBE_FINISHED_NXDOMAIN
but using
https://mydomain.COM/settings/admin/overview
I GOT THE LOGIN PAGE
BUT THE ADMIN PASSWORD ISNT WORKING-
ITRIED ALL PASSWORDS IN THE CONFIGURATION .JSON FILE BUT SAME ISSUE
After days of manipulations i cannot acces my nextcloud.
HELP PLS