Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Nginx Bad Gateway Error - I really need you help 🫠 #2036

Open
alexsmedile opened this issue Oct 22, 2024 · 1 comment
Open

[Bug] Nginx Bad Gateway Error - I really need you help 🫠 #2036

alexsmedile opened this issue Oct 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@alexsmedile
Copy link

alexsmedile commented Oct 22, 2024

THE ISSUE

Today, my NGINX just broke.
I don't know what happened, I might I have upgraded the wrong package, or it's just a bug.

TO REPRODUCE

  1. I updated Raspberry Pi OS, with apt get update && upgrade (at least that's what I think could have broken something).
  2. Reboot.
  3. Now if I open my Nginx and try to log-in I get "Bad Gateway".

I can access other containers just fine.

EXPECTED BEHAVIOR

I was loading everything just fine a few hours ago. Now, I can't load my Nginx configuration and access my containers from the web. I expect to revive my npm configuration and restart the service succesfully.

SCREENSHOTS

image

I ALSO TRIED:

  • Checking for other containers on port 80 or 81 (sudo netstat -tulpn | grep ':80').
  • Reistalling Nginx (sudo apt remove nginx, sudo apt-get reinstall nginx).
  • Unistalling, reinstalling Nginx from CasaOS. Same error.
  • Stopping other services (sudo killall apache2).

THE ERRORS I GOT:

Unit nginx.service could not be found.
systemctl status nginx.service
× nginx.service - A high performance web server and a reverse proxy server
     Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enable>
     Active: failed (Result: exit-code) since Tue 2024-10-22 21:45:22 BST; 26mi>
       Docs: man:nginx(8)
    Process: 870 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_proces>
        CPU: 1ms
Oct 22 21:45:22 pi systemd[1]: Starting nginx.service - A high performance web >
Oct 22 21:45:22 pi (nginx)[870]: nginx.service: Failed to locate executable /us>
Oct 22 21:45:22 pi (nginx)[870]: nginx.service: Failed at step EXEC spawning /u>
Oct 22 21:45:22 pi systemd[1]: nginx.service: Control process exited, code=exit>
Oct 22 21:45:22 pi systemd[1]: nginx.service: Failed with result 'exit-code'.
Oct 22 21:45:22 pi systemd[1]: Failed to start nginx.service - A high performan>
lines 1-13/13 (END)

MY SETUP:

 - OS: Raspberry Pi OS Debian GNU/Linux 12 (bookworm)
 - CasaOS: v0.4.13 on port 7778

LOGS

sudo netstat -tulpn | grep ':80'

tcp        0      0 0.0.0.0:8000            0.0.0.0:*               LISTEN      1261/docker-proxy   
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1456/docker-proxy   
tcp6       0      0 :::8000                 :::*                    LISTEN      1291/docker-proxy   
tcp6       0      0 :::80                   :::*                    LISTEN      1464/docker-proxy   
casa@pi:~ $ sudo ps aux | grep -i php
www-data    2222  0.0  0.2 198916 19840 ?        Ss   21:46   0:00 /usr/bin/php-cgi
www-data    2247  0.0  0.1 199212 13228 ?        S    21:46   0:00 /usr/bin/php-cgi
www-data    2248  0.0  0.1 199208 13228 ?        S    21:46   0:00 /usr/bin/php-cgi
www-data    2249  0.0  0.1 199280 15276 ?        S    21:46   0:00 /usr/bin/php-cgi
www-data    2250  0.0  0.1 199208 13228 ?        S    21:46   0:00 /usr/bin/php-cgi
casa       10434  0.0  0.0   6060  1792 pts/0    S+   22:30   0:00 grep --color=auto -i php

casa@pi:~ $ sudo ps aux | egrep -i 'php|fpm'
www-data    2222  0.0  0.2 198916 19840 ?        Ss   21:46   0:00 /usr/bin/php-cgi
www-data    2247  0.0  0.1 199212 13228 ?        S    21:46   0:00 /usr/bin/php-cgi
www-data    2248  0.0  0.1 199208 13228 ?        S    21:46   0:00 /usr/bin/php-cgi
www-data    2249  0.0  0.1 199280 15276 ?        S    21:46   0:00 /usr/bin/php-cgi
www-data    2250  0.0  0.1 199208 13228 ?        S    21:46   0:00 /usr/bin/php-cgi
casa       10468  0.0  0.0   6060  1792 pts/0    S+   22:30   0:00 grep -E --color=auto -i php|fpm

sudo journalctl -xef -u casaos-gateway

Oct 22 21:45:13 pi systemd[1]: Starting casaos-gateway.service - CasaOS Gateway...
░░ Subject: A start job for unit casaos-gateway.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit casaos-gateway.service has begun execution.
░░ 
░░ The job identifier is 117.
Oct 22 21:45:15 pi casaos-gateway[692]: v0.4.8
Oct 22 21:45:15 pi casaos-gateway[733]: git commit: eeb28d78941cf2746e611c02b148e347c47501da
Oct 22 21:45:15 pi casaos-gateway[733]: build date: 2024-07-18T08:16:38Z
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] PROVIDE        *service.State <= main.main.func4()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] PROVIDE        *service.Management <= github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] PROVIDE        *route.ManagementRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] PROVIDE        *route.GatewayRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] PROVIDE        *route.StaticRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] PROVIDE        fx.Lifecycle <= go.uber.org/fx.New.func1()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] PROVIDE        fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] PROVIDE        fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] INVOKE                main.run()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] RUN        provide: go.uber.org/fx.New.func1()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] RUN        provide: main.main.func4()
Oct 22 21:45:15 pi casaos-gateway[733]: 2024-10-22T21:45:15.648+0100        error        Failed to load routes        {"error": "open /var/run/casaos/routes.json: no such file or directory", "filepath": "/var/run/casaos/routes.json", "func": "service.NewManagementService", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/service/management.go", "line": 32}
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] RUN        provide: github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] RUN        provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] RUN        provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] RUN        provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] HOOK OnStart                main.run.func1() executing (caller: main.run)
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] HOOK OnStart                main.run.func1() called by main.run ran successfully in 2.029074ms
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] HOOK OnStart                main.run.func2() executing (caller: main.run)
Oct 22 21:45:15 pi casaos-gateway[733]: 2024-10-22T21:45:15.698+0100        info        Management service is listening...        {"address": "127.0.0.1:40883", "filepath": "/var/run/casaos/management.url", "func": "main.run.func1.1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 206}
Oct 22 21:45:15 pi casaos-gateway[733]: 2024-10-22T21:45:15.699+0100        info        Checking if service at URL is running...        {"url": "http://[::]:7778/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
Oct 22 21:45:15 pi casaos-gateway[733]: 2024-10-22T21:45:15.714+0100        info        New gateway is listening...        {"address": "[::]:7778", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] HOOK OnStart                main.run.func2() called by main.run ran successfully in 15.815371ms
Oct 22 21:45:15 pi casaos-gateway[733]: [Fx] HOOK OnStart                main.run.func3() executing (caller: main.run)
Oct 22 21:45:15 pi casaos-gateway[733]: 2024-10-22T21:45:15.715+0100        info        Static web service is listening...        {"address": "127.0.0.1:41731", "filepath": "/var/run/casaos/static.url", "func": "main.run.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 311}
Oct 22 21:45:15 pi casaos-gateway[733]: 2024-10-22T21:45:15.715+0100        info        Notified systemd that gateway is ready        {"func": "main.main.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 157}
Oct 22 21:45:15 pi systemd[1]: Started casaos-gateway.service - CasaOS Gateway.
░░ Subject: A start job for unit casaos-gateway.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit casaos-gateway.service has finished successfully.
░░ 
░░ The job identifier is 117.

sudo journalctl -xef -u casaos-user-service

Oct 22 21:45:17 pi systemd[1]: Starting casaos-user-service.service - CasaOS User Service...
░░ Subject: A start job for unit casaos-user-service.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit casaos-user-service.service has begun execution.
░░ 
░░ The job identifier is 143.
Oct 22 21:45:18 pi casaos-user-service[755]: v0.4.8
Oct 22 21:45:18 pi casaos-user-service[770]: git commit: 5cf4ed5424be4c62b97d67b51f6338c47285f47b
Oct 22 21:45:18 pi casaos-user-service[770]: build date: 2024-03-26T03:36:24Z
Oct 22 21:45:18 pi casaos-user-service[770]: [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
Oct 22 21:45:18 pi casaos-user-service[770]: [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
Oct 22 21:45:18 pi casaos-user-service[770]:  - using env:        export GIN_MODE=release
Oct 22 21:45:18 pi casaos-user-service[770]:  - using code:        gin.SetMode(gin.ReleaseMode)
Oct 22 21:45:18 pi casaos-user-service[770]: 2024-10-22T21:45:18.414+0100        info        Notified systemd that user service is ready        {"func": "main.main", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/main.go", "line": 152}
Oct 22 21:45:18 pi systemd[1]: Started casaos-user-service.service - CasaOS User Service.
░░ Subject: A start job for unit casaos-user-service.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit casaos-user-service.service has finished successfully.
░░ 
░░ The job identifier is 143.
Oct 22 21:45:18 pi casaos-user-service[770]: 2024-10-22T21:45:18.419+0100        info        User service is listening...        {"address": "127.0.0.1:44607", "filepath": "/var/run/casaos/user-service.url", "func": "main.main", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/main.go", "line": 157}
Oct 22 21:45:18 pi casaos-user-service[770]: 2024-10-22T21:45:18.439+0100        error        connect websocket err0        {"error": "websocket.Dial ws://127.0.0.1:37299/v2/message_bus/event/local-storage: bad status", "func": "route.EventListen", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/route/event_listen.go", "line": 32}
Oct 22 21:45:19 pi casaos-user-service[770]: 2024-10-22T21:45:19.441+0100        error        connect websocket err1        {"error": "websocket.Dial ws://127.0.0.1:37299/v2/message_bus/event/local-storage: bad status", "func": "route.EventListen", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/route/event_listen.go", "line": 32}
Oct 22 21:45:20 pi casaos-user-service[770]: 2024-10-22T21:45:20.443+0100        error        connect websocket err2        {"error": "websocket.Dial ws://127.0.0.1:37299/v2/message_bus/event/local-storage: bad status", "func": "route.EventListen", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/route/event_listen.go", "line": 32}
Oct 22 21:45:21 pi casaos-user-service[770]: 2024-10-22T21:45:21.448+0100        info        subscribed to        {"url": "ws://127.0.0.1:37299/v2/message_bus/event/local-storage", "func": "route.EventListen", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/route/event_listen.go", "line": 38}
Oct 22 21:47:13 pi casaos-user-service[770]: 2024-10-22T21:47:13.268+0100        error        NvidiaGPUInfoList error        {"error": "exec: \"nvidia-smi\": executable file not found in $PATH", "func": "v1.GetUserStatus", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/route/v1/user.go", "line": 827}
Oct 22 21:47:13 pi casaos-user-service[770]: [GIN] 2024/10/22 - 21:47:13 | 200 |    9.506669ms |   192.168.2.172 | GET      "/v1/users/status"
Oct 22 21:47:13 pi casaos-user-service[770]: [GIN] 2024/10/22 - 21:47:13 | 401 |    3.614668ms |   192.168.2.172 | GET      "/v1/users/current/custom/wallpaper"
Oct 22 21:47:13 pi casaos-user-service[770]: [GIN] 2024/10/22 - 21:47:13 | 401 |    7.812365ms |   192.168.2.172 | GET      "/v1/users/current/custom/system"
Oct 22 21:47:13 pi casaos-user-service[770]: [GIN] 2024/10/22 - 21:47:13 | 401 |    4.435681ms |   192.168.2.172 | POST     "/v1/users/refresh"
Oct 22 21:47:13 pi casaos-user-service[770]: 2024-10-22T21:47:13.476+0100        error        NvidiaGPUInfoList error        {"error": "exec: \"nvidia-smi\": executable file not found in $PATH", "func": "v1.GetUserStatus", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/route/v1/user.go", "line": 827}
Oct 22 21:47:13 pi casaos-user-service[770]: [GIN] 2024/10/22 - 21:47:13 | 200 |    3.461925ms |   192.168.2.172 | GET      "/v1/users/status"
Oct 22 21:47:13 pi casaos-user-service[770]: 2024-10-22T21:47:13.484+0100        error        NvidiaGPUInfoList error        {"error": "exec: \"nvidia-smi\": executable file not found in $PATH", "func": "v1.GetUserStatus", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/route/v1/user.go", "line": 827}
Oct 22 21:47:13 pi casaos-user-service[770]: [GIN] 2024/10/22 - 21:47:13 | 200 |    2.860101ms |   192.168.2.172 | GET      "/v1/users/status"
Oct 22 21:47:13 pi casaos-user-service[770]: [GIN] 2024/10/22 - 21:47:13 | 404 |    2.056922ms |   192.168.2.172 | GET      "/v1/users/image?path=/var/lib/casaos/1/avatar.png"
...

sudo journalctl -xef -u casaos-local-storage

Oct 22 21:45:18 pi systemd[1]: Starting casaos-local-storage.service - CasaOS Local Storage Service...
░░ Subject: A start job for unit casaos-local-storage.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit casaos-local-storage.service has begun execution.
░░ 
░░ The job identifier is 99.
Oct 22 21:45:20 pi casaos-local-storage[792]: v0.4.4
Oct 22 21:45:20 pi casaos-local-storage[841]: git commit: c78fcce41c1cbb1ec37fa14d71d39521ba3db3ca
Oct 22 21:45:20 pi casaos-local-storage[841]: build date: 2024-01-29T05:47:51Z
Oct 22 21:45:20 pi casaos-local-storage[841]: 2024-10-22T21:45:20.311+0100        info        Checking serial disk mount...        {"func": "service.(*diskService).CheckSerialDiskMount", "file": "/DATA/project/CasaOS-LocalStorage/service/disk.go", "line": 535}
Oct 22 21:45:20 pi casaos-local-storage[841]: /usr/sbin/smartctl -a -n standby /dev/mmcblk0 -j
Oct 22 21:45:20 pi casaos-local-storage[841]: {
Oct 22 21:45:20 pi casaos-local-storage[841]:   "json_format_version": [
Oct 22 21:45:20 pi casaos-local-storage[841]:     1,
Oct 22 21:45:20 pi casaos-local-storage[841]:     0
Oct 22 21:45:20 pi casaos-local-storage[841]:   ],
Oct 22 21:45:20 pi casaos-local-storage[841]:   "smartctl": {
Oct 22 21:45:20 pi casaos-local-storage[841]:     "version": [
Oct 22 21:45:20 pi casaos-local-storage[841]:       7,
Oct 22 21:45:20 pi casaos-local-storage[841]:       3
Oct 22 21:45:20 pi casaos-local-storage[841]:     ],
Oct 22 21:45:20 pi casaos-local-storage[841]:     "svn_revision": "5338",
Oct 22 21:45:20 pi casaos-local-storage[841]:     "platform_info": "aarch64-linux-6.6.51+rpt-rpi-v8",
Oct 22 21:45:20 pi casaos-local-storage[841]:     "build_info": "(local build)",
Oct 22 21:45:20 pi casaos-local-storage[841]:     "argv": [
Oct 22 21:45:20 pi casaos-local-storage[841]:       "smartctl",
Oct 22 21:45:20 pi casaos-local-storage[841]:       "-a",
Oct 22 21:45:20 pi casaos-local-storage[841]:       "-n",
Oct 22 21:45:20 pi casaos-local-storage[841]:       "standby",
Oct 22 21:45:20 pi casaos-local-storage[841]:       "/dev/mmcblk0",
Oct 22 21:45:20 pi casaos-local-storage[841]:       "-j"
Oct 22 21:45:20 pi casaos-local-storage[841]:     ],
Oct 22 21:45:20 pi casaos-local-storage[841]:     "messages": [
Oct 22 21:45:20 pi casaos-local-storage[841]:       {
Oct 22 21:45:20 pi casaos-local-storage[841]:         "string": "/dev/mmcblk0: Unable to detect device type",
Oct 22 21:45:20 pi casaos-local-storage[841]:         "severity": "error"
Oct 22 21:45:20 pi casaos-local-storage[841]:       }
Oct 22 21:45:20 pi casaos-local-storage[841]:     ],
Oct 22 21:45:20 pi casaos-local-storage[841]:     "exit_status": 1
Oct 22 21:45:20 pi casaos-local-storage[841]:   },
Oct 22 21:45:20 pi casaos-local-storage[841]:   "local_time": {
Oct 22 21:45:20 pi casaos-local-storage[841]:     "time_t": 1729629920,
Oct 22 21:45:20 pi casaos-local-storage[841]:     "asctime": "Tue Oct 22 21:45:20 2024 BST"
Oct 22 21:45:20 pi casaos-local-storage[841]:   }
Oct 22 21:45:20 pi casaos-local-storage[841]: }
Oct 22 21:45:20 pi casaos-local-storage[841]: 2024-10-22T21:45:20.398+0100        error        failed to exec shell - smartctl exec error        {"func": "service.(*diskService).SmartCTL", "file": "/DATA/project/CasaOS-LocalStorage/service/disk.go", "line": 149}
Oct 22 21:45:20 pi casaos-local-storage[841]: 2024-10-22T21:45:20.430+0100        error        failed to enable S.M.A.R.T: smartctl 7.3 2022-02-28 r5338 [aarch64-linux-6.6.51+rpt-rpi-v8] (local build)
Oct 22 21:45:20 pi casaos-local-storage[841]: Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
Oct 22 21:45:20 pi casaos-local-storage[841]: /dev/mmcblk0: Unable to detect device type
Oct 22 21:45:20 pi casaos-local-storage[841]: Please specify device type with the -d option.
Oct 22 21:45:20 pi casaos-local-storage[841]: Use smartctl -h to get a usage summary
Oct 22 21:45:20 pi casaos-local-storage[841]:         {"error": "exit status 1", "path": "/dev/mmcblk0", "func": "service.(*diskService).CheckSerialDiskMount", "file": "/DATA/project/CasaOS-LocalStorage/service/disk.go", "line": 559}
Oct 22 21:45:25 pi casaos-local-storage[841]: 2024-10-22T21:45:25.568+0100        info        Notified systemd that local storage service is ready        {"func": "main.main", "file": "/DATA/project/CasaOS-LocalStorage/main.go", "line": 226}
Oct 22 21:45:25 pi casaos-local-storage[841]: 2024-10-22T21:45:25.568+0100        info        LocalStorage service is listening...        {"address": "127.0.0.1:40211", "func": "main.main", "file": "/DATA/project/CasaOS-LocalStorage/main.go", "line": 231}
Oct 22 21:45:25 pi systemd[1]: Started casaos-local-storage.service - CasaOS Local Storage Service.
░░ Subject: A start job for unit casaos-local-storage.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit casaos-local-storage.service has finished successfully.
░░ 
░░ The job identifier is 99.
Oct 22 21:47:16 pi casaos-local-storage[841]: 2024-10-22T21:47:16.551+0100        error        failed to publish event to message bus        {"status": "404 Not Found", "responseError": "json: unsupported type: func() (io.ReadCloser, error)", "func": "service.(*notifyServer).SendNotify", "file": "/DATA/project/CasaOS-LocalStorage/service/notify.go", "line": 32}

sudo journalctl -xef -u casaos-app-management

Oct 22 21:45:36 pi systemd[1]: Starting casaos-app-management.service - CasaOS App Management Service...
░░ Subject: A start job for unit casaos-app-management.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit casaos-app-management.service has begun execution.
░░ 
░░ The job identifier is 144.
Oct 22 21:46:01 pi casaos-app-management[1829]: v0.4.5
Oct 22 21:46:01 pi casaos-app-management[2027]: git commit: 8d0082ad64c2fc4209031284abcf7c9d252e0d72
Oct 22 21:46:01 pi casaos-app-management[2027]: build date: 2024-06-24T05:42:57Z
Oct 22 21:46:02 pi casaos-app-management[2027]: 2024-10-22T21:46:02.114+0100        info        failed to parse compose app - contact the contributor of this app to fix it        {"error": "validating : services.jellyseerr.cap_add must be a list", "composeFile": "/var/lib/casaos/appstore/default/Apps/Jellyseerr/docker-compose.yaml", "func": "service.BuildCatalog.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore.go", "line": 395}
Oct 22 21:46:02 pi casaos-app-management[2027]: 2024-10-22T21:46:02.341+0100        info        failed to parse compose app - contact the contributor of this app to fix it        {"error": "validating : services.medusa.cap_add must be a list", "composeFile": "/var/lib/casaos/appstore/default/Apps/Medusa/docker-compose.yml", "func": "service.BuildCatalog.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore.go", "line": 395}
Oct 22 21:46:03 pi casaos-app-management[2027]: 2024-10-22T21:46:03.518+0100        info        failed to parse compose app - contact the contributor of this app to fix it        {"error": "validating : services.trilium.devices must be a list", "composeFile": "/var/lib/casaos/appstore/default/Apps/Trilium/docker-compose.yaml", "func": "service.BuildCatalog.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore.go", "line": 395}
Oct 22 21:46:03 pi casaos-app-management[2027]: 2024-10-22T21:46:03.552+0100        info        failed to parse compose app - contact the contributor of this app to fix it        {"error": "validating : services.twingate-connector.ports must be a list", "composeFile": "/var/lib/casaos/appstore/default/Apps/Twingate/docker-compose.yml", "func": "service.BuildCatalog.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore.go", "line": 395}
Oct 22 21:46:03 pi systemd[1]: Started casaos-app-management.service - CasaOS App Management Service.
░░ Subject: A start job for unit casaos-app-management.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit casaos-app-management.service has finished successfully.
░░ 
░░ The job identifier is 144.
Oct 22 21:46:03 pi casaos-app-management[2027]: 2024-10-22T21:46:03.816+0100        info        Notified systemd that casaos main service is ready        {"func": "main.main", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/main.go", "line": 172}
Oct 22 21:46:03 pi casaos-app-management[2027]: 2024-10-22T21:46:03.817+0100        info        App management service is listening...        {"address": "127.0.0.1:34295", "func": "main.main", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/main.go", "line": 177}
Oct 22 21:46:05 pi casaos-app-management[2027]: 2024-10-22T21:46:05.963+0100        info        appstore size changed, update app store        {"url": "https://github.com/IceWhaleTech/_appstore/archive/refs/heads/main.zip", "func": "service.(*appStore).UpdateCatalog", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore.go", "line": 94}
Oct 22 21:46:06 pi casaos-app-management[2027]: {"time":"2024-10-22T21:46:06.907349673+01:00","id":"","remote_ip":"192.168.2.172","host":"192.168.2.135:7778","method":"GET","uri":"/v2/app_management/web/appgrid","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 14_5_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/122.0.6261.39 Safari/605.1.15","status":401,"error":"code=401, message=invalid or expired jwt, internal=code=401, message=Unauthorized","latency":12447240,"latency_human":"12.44724ms","bytes_in":0,"bytes_out":27}
Oct 22 21:46:08 pi casaos-app-management[2027]: 2024-10-22T21:46:08.881+0100        info        appstore size changed, update app store        {"url": "https://casaos.app/store/main.zip", "func": "service.(*appStore).UpdateCatalog", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore.go", "line": 94}
Oct 22 21:46:08 pi casaos-app-management[2027]: {"time":"2024-10-22T21:46:08.927575487+01:00","id":"","remote_ip":"172.17.0.4","host":"_myhostname","method":"GET","uri":"/v2/app_management/web/appgrid","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 14_5_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/122.0.6261.39 Safari/605.1.15","status":401,"error":"code=401, message=invalid or expired jwt, internal=code=401, message=Unauthorized","latency":890111,"latency_human":"890.111µs","bytes_in":0,"bytes_out":27}
Oct 22 21:46:11 pi casaos-app-management[2027]: {"time":"2024-10-22T21:46:11.894443355+01:00","id":"","remote_ip":"192.168.2.172","host":"192.168.2.135:7778","method":"GET","uri":"/v2/app_management/web/appgrid","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 14_5_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/122.0.6261.39 Safari/605.1.15","status":401,"error":"code=401, message=invalid or expired jwt, internal=code=401, message=Unauthorized","latency":1679759,"latency_human":"1.679759ms","bytes_in":0,"bytes_out":27}
Oct 22 21:46:16 pi casaos-app-management[2027]: {"time":"2024-10-22T21:46:16.894828537+01:00","id":"","remote_ip":"192.168.2.172","host":"192.168.2.135:7778","method":"GET","uri":"/v2/app_management/web/appgrid","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 14_5_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/122.0.6261.39 Safari/605.1.15","status":401,"error":"code=401, message=invalid or expired jwt, internal=code=401, message=Unauthorized","latency":821703,"latency_human":"821.703µs","bytes_in":0,"bytes_out":27}
...

sudo journalctl -xef -u casaos.service

Oct 22 21:50:56 pi casaos[756]: eth0
Oct 22 21:50:56 pi casaos[756]: wlan0
Oct 22 21:50:56 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;CatNetCardState eth0
Oct 22 21:50:56 pi casaos[756]: up
Oct 22 21:50:56 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;CatNetCardState wlan0
Oct 22 21:50:56 pi casaos[756]: down
Oct 22 21:50:58 pi casaos[756]: {"time":"2024-10-22T21:50:58.006239892+01:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:40673","method":"POST","uri":"/v1/notify/system_status","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":150034,"latency_human":"150.034µs","bytes_in":86,"bytes_out":43}
Oct 22 21:50:58 pi casaos[756]: {"time":"2024-10-22T21:50:58.019422764+01:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:40673","method":"POST","uri":"/v1/notify/system_status","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":145905,"latency_human":"145.905µs","bytes_in":14,"bytes_out":43}
Oct 22 21:51:00 pi casaos[756]: 消息来了,message:{"type":"ping"}
Oct 22 21:51:01 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;GetNetCard 2
Oct 22 21:51:01 pi casaos[756]: eth0
Oct 22 21:51:01 pi casaos[756]: wlan0
Oct 22 21:51:01 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;CatNetCardState eth0
Oct 22 21:51:01 pi casaos[756]: up
Oct 22 21:51:01 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;CatNetCardState wlan0
Oct 22 21:51:01 pi casaos[756]: down
Oct 22 21:51:03 pi casaos[756]: {"time":"2024-10-22T21:51:03.002868122+01:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:40673","method":"POST","uri":"/v1/notify/system_status","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":271236,"latency_human":"271.236µs","bytes_in":86,"bytes_out":43}
Oct 22 21:51:03 pi casaos[756]: {"time":"2024-10-22T21:51:03.03365063+01:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:40673","method":"POST","uri":"/v1/notify/system_status","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":195126,"latency_human":"195.126µs","bytes_in":14,"bytes_out":43}
Oct 22 21:51:06 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;GetNetCard 2
Oct 22 21:51:06 pi casaos[756]: eth0
Oct 22 21:51:06 pi casaos[756]: wlan0
Oct 22 21:51:06 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;CatNetCardState eth0
Oct 22 21:51:06 pi casaos[756]: up
Oct 22 21:51:06 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;CatNetCardState wlan0
Oct 22 21:51:06 pi casaos[756]: down
Oct 22 21:51:08 pi casaos[756]: {"time":"2024-10-22T21:51:08.005831051+01:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:40673","method":"POST","uri":"/v1/notify/system_status","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":139034,"latency_human":"139.034µs","bytes_in":86,"bytes_out":43}
Oct 22 21:51:08 pi casaos[756]: {"time":"2024-10-22T21:51:08.018745658+01:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:40673","method":"POST","uri":"/v1/notify/system_status","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":127238,"latency_human":"127.238µs","bytes_in":14,"bytes_out":43}
Oct 22 21:51:11 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;GetNetCard 2
Oct 22 21:51:11 pi casaos[756]: eth0
Oct 22 21:51:11 pi casaos[756]: wlan0
Oct 22 21:51:11 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;CatNetCardState eth0
Oct 22 21:51:11 pi casaos[756]: up
Oct 22 21:51:11 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;CatNetCardState wlan0
Oct 22 21:51:11 pi casaos[756]: down
Oct 22 21:51:13 pi casaos[756]: {"time":"2024-10-22T21:51:13.007496594+01:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:40673","method":"POST","uri":"/v1/notify/system_status","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":285680,"latency_human":"285.68µs","bytes_in":86,"bytes_out":43}
Oct 22 21:51:13 pi casaos[756]: {"time":"2024-10-22T21:51:13.04021266+01:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:40673","method":"POST","uri":"/v1/notify/system_status","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":253292,"latency_human":"253.292µs","bytes_in":14,"bytes_out":43}
Oct 22 21:51:16 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;GetNetCard 2
Oct 22 21:51:16 pi casaos[756]: eth0
Oct 22 21:51:16 pi casaos[756]: wlan0
Oct 22 21:51:16 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;CatNetCardState eth0
Oct 22 21:51:16 pi casaos[756]: up
Oct 22 21:51:16 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;CatNetCardState wlan0
Oct 22 21:51:16 pi casaos[756]: down
Oct 22 21:51:18 pi casaos[756]: {"time":"2024-10-22T21:51:18.002938324+01:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:40673","method":"POST","uri":"/v1/notify/system_status","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":249903,"latency_human":"249.903µs","bytes_in":86,"bytes_out":43}
Oct 22 21:51:18 pi casaos[756]: {"time":"2024-10-22T21:51:18.018507911+01:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:40673","method":"POST","uri":"/v1/notify/system_status","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":142275,"latency_human":"142.275µs","bytes_in":14,"bytes_out":43}
Oct 22 21:51:21 pi casaos[756]: /bin/bash -c source /usr/share/casaos/shell/helper.sh ;GetNetCard 2
...

Let me know if I need to provide you some more info and if we can fix this issue.
I just need to access my server again or I'm screwed 🤕

UP:
Deleting the package, rebooting, deleting config, reinstalling, apt update, apt upgrade, reboot: doing random actions out of frustration... Magically, it started working again and loaded the interface with example account. But then, the first reload, I got the same error: BAD GATEWAY 😪

The error I got in this temporary Ngnix Installation:

CommandError: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/certbot-dns-duckdns/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/certbot-dns-duckdns/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/certbot-dns-duckdns/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/certbot-dns-duckdns/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/certbot-dns-duckdns/
ERROR: Could not find a version that satisfies the requirement certbot-dns-duckdns~=1.0 (from versions: none)
ERROR: No matching distribution found for certbot-dns-duckdns~=1.0
    at /app/lib/utils.js:16:13
    at ChildProcess.exithandler (node:child_process:430:5)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
CommandError: Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
An unexpected error occurred:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NameResolutionError(": Failed to resolve 'acme-v02.api.letsencrypt.org' ([Errno -3] Temporary failure in name resolution)"))
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details.

    at /app/lib/utils.js:16:13
    at ChildProcess.exithandler (node:child_process:430:5)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket. (node:internal/child_process:457:11)
    at Socket.emit (node:events:519:28)
    at Pipe. (node:net:339:12)
❯ Starting nginx ...
❯ Starting backend ...
[10/22/2024] [11:27:31 PM] [Global   ] › ℹ  info      Using Sqlite: /data/database.sqlite
[10/22/2024] [11:27:31 PM] [Global   ] › ℹ  info      Creating a new JWT key pair...
[10/22/2024] [11:27:53 PM] [Global   ] › ℹ  info      Wrote JWT key pair to config file: /data/keys.json
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      Current database version: none
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] auth Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] user Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] user_permission Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] proxy_host Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] redirection_host Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] dead_host Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] stream Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] access_list Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] certificate Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] access_list_auth Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [initial-schema] audit_log Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [websockets] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [websockets] proxy_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [forward_host] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [forward_host] proxy_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [http2_support] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [http2_support] proxy_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [http2_support] redirection_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [http2_support] dead_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [forward_scheme] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [forward_scheme] proxy_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [disabled] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [disabled] proxy_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [disabled] redirection_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [disabled] dead_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [disabled] stream Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [custom_locations] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [custom_locations] proxy_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [hsts] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [hsts] proxy_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [hsts] redirection_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [hsts] dead_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [settings] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [settings] setting Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [access_list_client] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [access_list_client] access_list_client Table created
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [access_list_client] access_list Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [access_list_client_fix] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [access_list_client_fix] access_list Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [pass_auth] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [pass_auth] access_list Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [redirection_scheme] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [redirection_scheme] redirection_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [redirection_status_code] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [redirection_status_code] redirection_host Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [stream_domain] Migrating Up...
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [stream_domain] stream Table altered
[10/22/2024] [11:27:56 PM] [Migrate  ] › ℹ  info      [stream_domain] Migrating Up...
[10/22/2024] [11:27:56 PM] [Setup    ] › ℹ  info      Creating a new user: [email protected] with password: changeme
[10/22/2024] [11:27:57 PM] [Setup    ] › ℹ  info      Initial admin setup completed
[10/22/2024] [11:27:57 PM] [Setup    ] › ℹ  info      Default settings added
[10/22/2024] [11:27:57 PM] [Setup    ] › ℹ  info      Logrotate Timer initialized
[10/22/2024] [11:27:57 PM] [Global   ] › ⬤  debug     CMD: logrotate /etc/logrotate.d/nginx-proxy-manager
[10/22/2024] [11:27:57 PM] [Setup    ] › ℹ  info      Logrotate completed.
[10/22/2024] [11:27:57 PM] [IP Ranges] › ℹ  info      Fetching IP Ranges from online services...
[10/22/2024] [11:27:57 PM] [IP Ranges] › ℹ  info      Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[10/22/2024] [11:27:57 PM] [IP Ranges] › ℹ  info      Fetching https://www.cloudflare.com/ips-v4
[10/22/2024] [11:27:57 PM] [IP Ranges] › ℹ  info      Fetching https://www.cloudflare.com/ips-v6
[10/22/2024] [11:27:58 PM] [SSL      ] › ℹ  info      Let's Encrypt Renewal Timer initialized
[10/22/2024] [11:27:58 PM] [SSL      ] › ℹ  info      Renewing SSL certs expiring within 30 days ...
[10/22/2024] [11:27:58 PM] [IP Ranges] › ℹ  info      IP Ranges Renewal Timer initialized
[10/22/2024] [11:27:58 PM] [Global   ] › ℹ  info      Backend PID 159 listening on port 3000 ...
[10/22/2024] [11:27:58 PM] [SSL      ] › ℹ  info      Completed SSL cert renew process
[10/22/2024] [11:29:51 PM] [Express  ] › ⚠  warning   invalid signature
[10/22/2024] [11:31:52 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;"
[10/22/2024] [11:31:52 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[10/22/2024] [11:31:52 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -s reload
[10/22/2024] [11:31:52 PM] [Certbot  ] › ▶  start     Installing duckdns...
[10/22/2024] [11:31:52 PM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir  certbot-dns-duckdns~=1.0  && deactivate
[10/22/2024] [11:31:56 PM] [Certbot  ] › ☒  complete  Installed duckdns
[10/22/2024] [11:31:56 PM] [SSL      ] › ℹ  info      Requesting Let'sEncrypt certificates via DuckDNS for Cert #1: *.casa.duckdns.org, casa.duckdns.org
[10/22/2024] [11:31:56 PM] [SSL      ] › ℹ  info      Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-1" --agree-tos --email "[email protected]" --domains "*.casa.duckdns.org,casa.duckdns.org" --authenticator dns-duckdns --dns-duckdns-credentials "/etc/letsencrypt/credentials/credentials-1" --dns-duckdns-no-txt-restore
[10/22/2024] [11:31:56 PM] [Global   ] › ⬤  debug     CMD: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-1" --agree-tos --email "[email protected]" --domains "*.casa.duckdns.org,casa.duckdns.org" --authenticator dns-duckdns --dns-duckdns-credentials "/etc/letsencrypt/credentials/credentials-1" --dns-duckdns-no-txt-restore
[10/22/2024] [11:32:49 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;"
[10/22/2024] [11:32:49 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[10/22/2024] [11:32:49 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -s reload
[10/22/2024] [11:32:49 PM] [Express  ] › ⚠  warning   Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details.
@alexsmedile alexsmedile added the bug Something isn't working label Oct 22, 2024
@alexsmedile
Copy link
Author

UP:

CasaOS caused an issue with the database I think. I re-installed the container.

Then there was another issue with DNS.
Today I bought a domain and used Cloudflare instead.
I had to set 120 Propagation Seconds to see the SSL challenge pass.

DuckDNS is unreliable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@alexsmedile and others