Repetition Domainsetup
-
-
@alwi I guess some sort of "Error" (string) . What are the last 50 lines in the log file (try to get this after
systemctl restart box
and wait for 20 seconds)? -
@girish Here the rows after systemctl restart box - "mydomain" is a placeholder:
2024-05-29T16:08:46.796Z box:server Cloudron 7.7.2 2024-05-29T16:08:46.796Z box:server ========================================== 2024-05-29T16:08:46.796Z box:platform initialize: start platform 2024-05-29T16:08:46.818Z box:tasks stopAllTasks: stopping all tasks 2024-05-29T16:08:46.818Z box:shell stopTask /usr/bin/sudo -S /home/yellowtent/box/src/scripts/stoptask.sh all 2024-05-29T16:08:46.864Z box:reverseproxy writeDashboardConfig: writing dashboard config for willnc.de 2024-05-29T16:08:46.870Z box:shell isOscpEnabled execArgs: openssl ["x509","-in","/home/yellowtent/platformdata/nginx/cert/_.mydomain.de.cert","-noout","-ocsp_uri"] 2024-05-29T16:08:46.881Z box:shell reload /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx 2024-05-29T16:08:47.019Z box:platform start: not activated. generating IP based redirection config 2024-05-29T16:08:47.023Z box:reverseproxy writeDefaultConfig: writing configs for endpoint "setup" 2024-05-29T16:08:47.024Z box:shell reload /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
-
-
systemctl status nginx ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/nginx.service.d └─cloudron.conf Active: active (running) since Wed 2024-05-29 15:40:26 UTC; 54min ago Docs: man:nginx(8) Process: 822 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Process: 1196 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Main PID: 1197 (nginx) Tasks: 5 (limit: 18340) Memory: 13.0M CPU: 232ms CGroup: /system.slice/nginx.service ├─1197 "nginx: master process /usr/sbin/nginx -g daemon on; master_process on;" ├─1924 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ├─1925 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ├─1926 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" └─1927 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" Mai 29 15:40:23 giga systemd[1]: Starting A high performance web server and a reverse proxy server... Mai 29 15:40:26 giga systemd[1]: Started A high performance web server and a reverse proxy server.
-
@alwi yeah, that looks ok too. I think some DNS or networking issue then. I would debug this further like this:
All on the PC/Mac:
- Are you able to ping by IP?
- Then,
host my.domain.com
. Does this translate to the IP? - Then,
curl https://my.domain.com
. Does this give some html?
Are you hosting on some internal network or public VPS? If internal network, note that you have to setup port forwarding of port 443 from the public IP (i.e the DNS IP) to the private IP (i.e the VM)
-
Ah, I got confused from the initial post, I thought you were testing from the Mac (maybe you meant MAC - which is the hardware address?). Anyway, I mean to run those commands from your PC or computer on which you have your browser open.
-
So, you have to investigate why you can't ping by IP address. The VM is unreachable.