I made the mistake of upgrading Debian 11 > 12 in place on a dedicated server before realizing there are no repos for 12. Which broke my packages and install.
So i Git cloned the main repo to give docker a shot and am running into an issue.
issue:
docker compose log:
bc-server | Aug 25 09:07:04 88e87883172e bc-server[31]: E(): Could not open database after 30 tries, aborting
what i see in the webui:
{“status”:“unavailable”,“msg”:[“Fatal error: could not connect to the database: “],“data”:””}
I saw in another post to use the Master - which i get the same results (even after nuking the volumes, images, containers, and rebooting the system)
post i am referring to: Docker Install issue: bc-server respawning over & over
OS details:
OS: Debian 11
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
mysql 8.0 7cd8c3640577 4 weeks ago 573MB
louislam/uptime-kuma latest e1ca7233c2fa 4 months ago 436MB
bluecherrydvr/bluecherry master 13b9bb9e6a27 4 months ago 927MB
juanluisbaptiste/postfix latest 7c3a06884ebd 2 years ago 50.9MB
Other than changing passwords the docker compose, .env, and .mail are same
compose logs
+] Running 4/0
✔ Container bc-mail Created 0.0s
✔ Container uptime-kuma Created 0.0s
✔ Container bc-mysql Created 0.0s
✔ Container bc-server Created 0.0s
Attaching to bc-mail, bc-mysql, bc-server, uptime-kuma
bc-mail | Setting configuration option maillog_file with value: /dev/stdout
bc-mail | Setting configuration option myhostname with value: hostnameofsmtpserver
bc-mail | Setting configuration option mydomain with value: hostnameofsmtpserver.hostnameofsmtpserver
bc-mail | Setting configuration option mydestination with value: localhost
bc-mail | Setting configuration option myorigin with value: $mydomain
bc-mail | Setting configuration option relayhost with value: [127.0.0.1]:25
bc-mail | Setting configuration option smtp_use_tls with value: yes
uptime-kuma | ==> Performing startup jobs and maintenance tasks
uptime-kuma | ==> Starting application with user 0 group 0
bc-mail | Setting configuration option smtp_sasl_auth_enable with value: yes
bc-mail | Setting configuration option smtp_sasl_password_maps with value: lmdb:/etc/postfix/sasl_passwd
bc-mysql | 2024-08-25 09:05:50-05:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.39-1.el9 started.
bc-mail | Setting configuration option smtp_sasl_security_options with value: noanonymous
uptime-kuma | Welcome to Uptime Kuma
bc-mail | Setting configuration option always_add_missing_headers with value: yes
uptime-kuma | Your Node.js version: 18.20.2
bc-mail | Setting configuration option smtp_host_lookup with value: native,dns
bc-mail | Setting configuration option inet_protocols with value: all
bc-mail | Setting configuration option mynetworks with value: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
uptime-kuma | 2024-08-25T14:05:50Z [SERVER] INFO: Welcome to Uptime Kuma
uptime-kuma | 2024-08-25T14:05:50Z [SERVER] INFO: Node Env: production
uptime-kuma | 2024-08-25T14:05:50Z [SERVER] INFO: Inside Container: true
uptime-kuma | 2024-08-25T14:05:50Z [SERVER] INFO: Importing Node libraries
uptime-kuma | 2024-08-25T14:05:50Z [SERVER] INFO: Importing 3rd-party libraries
bc-mysql | 2024-08-25 09:05:50-05:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
bc-mysql | 2024-08-25 09:05:50-05:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.39-1.el9 started.
bc-mysql | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
bc-server | > Update MySQL's my.cnf from environment variables passed in from docker
bc-server | > Writing /root/.my.cnf
bc-server | > Update bluecherry server's bluecherry.conf from environment variables passed in from docker
bc-server | > Writing /etc/bluecherry.conf
bc-server | > chown bluecherry:bluecherry /var/lib/bluecherry/recordings
bc-mysql | 2024-08-25T14:05:51.660899Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
bc-mysql | 2024-08-25T14:05:51.663247Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
bc-mysql | 2024-08-25T14:05:51.663293Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.39) starting as process 1
bc-mysql | 2024-08-25T14:05:51.700791Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
uptime-kuma | 2024-08-25T14:05:52Z [SERVER] INFO: Creating express and socket.io instance
uptime-kuma | 2024-08-25T14:05:52Z [SERVER] INFO: Server Type: HTTP
uptime-kuma | 2024-08-25T14:05:52Z [SERVER] INFO: Importing this project modules
uptime-kuma | 2024-08-25T14:05:52Z [NOTIFICATION] INFO: Prepare Notification Providers
uptime-kuma | 2024-08-25T14:05:52Z [SERVER] INFO: Version: 1.23.13
uptime-kuma | 2024-08-25T14:05:53Z [DB] INFO: Data Dir: ./data/
uptime-kuma | 2024-08-25T14:05:53Z [SERVER] INFO: Connecting to the Database
uptime-kuma | 2024-08-25T14:05:53Z [DB] INFO: SQLite config:
uptime-kuma | [ { journal_mode: 'wal' } ]
uptime-kuma | [ { cache_size: -12000 } ]
uptime-kuma | 2024-08-25T14:05:53Z [DB] INFO: SQLite Version: 3.41.1
uptime-kuma | 2024-08-25T14:05:53Z [SERVER] INFO: Connected
uptime-kuma | 2024-08-25T14:05:53Z [DB] INFO: Your database version: 10
uptime-kuma | 2024-08-25T14:05:53Z [DB] INFO: Latest database version: 10
uptime-kuma | 2024-08-25T14:05:53Z [DB] INFO: Database patch not needed
uptime-kuma | 2024-08-25T14:05:53Z [DB] INFO: Database Patch 2.0 Process
bc-mail | Aug 25 09:05:53 hostnameofsmtpserver postfix/postfix-script[90]: starting the Postfix mail system
bc-mail | Aug 25 09:05:53 hostnameofsmtpserver postfix/master[1]: daemon started -- version 3.6.6, configuration /etc/postfix
uptime-kuma | 2024-08-25T14:05:53Z [SERVER] INFO: Load JWT secret from database.
uptime-kuma | 2024-08-25T14:05:53Z [SERVER] INFO: No user, need setup
uptime-kuma | 2024-08-25T14:05:53Z [SERVER] INFO: Adding route
uptime-kuma | 2024-08-25T14:05:53Z [SERVER] INFO: Adding socket handler
uptime-kuma | 2024-08-25T14:05:53Z [SERVER] INFO: Init the server
uptime-kuma | 2024-08-25T14:05:53Z [SERVER] INFO: Listening on 3001
uptime-kuma | 2024-08-25T14:05:53Z [SERVICES] INFO: Starting nscd
bc-mysql | 2024-08-25T14:05:53.489968Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
bc-mysql | 2024-08-25T14:05:55.302829Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
bc-mysql | 2024-08-25T14:05:55.302941Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
bc-mysql | 2024-08-25T14:05:55.328660Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
bc-mysql | 2024-08-25T14:05:55.383962Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
bc-mysql | 2024-08-25T14:05:55.384209Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.39' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
bc-server | > /usr/sbin/rsyslogd
bc-server | > /usr/sbin/nginx
bc-server | > /usr/sbin/bc-server -u bluecherry -g bluecherry
bc-server | Aug 25 09:05:57 88e87883172e bc-server[36]: I(): Status reports are served at /tmp/bluecherry_status
bc-server | Aug 25 09:05:57 88e87883172e bc-server[36]: I(): Status reports are served at /tmp/bluecherry_trigger
bc-server | Aug 25 09:05:57 88e87883172e bc-server[36]: I(): Started bc-server 3.1.1 (toolchain 9.4.0) v2.7.6-880-g0cc20a5a-dirty heads/master
bc-server | Aug 25 09:05:57 88e87883172e bc-server[36]: I(): API server started listen to port: 7005
bc-server | Aug 25 09:05:57 88e87883172e bc-server[36]: I(): HLS server started listen to port: 7003 (SSL=0)
bc-server | Aug 25 09:06:26 88e87883172e bc-server[36]: E(): Could not open database after 30 tries, aborting
bc-server exited with code 0
bc-server | > /usr/sbin/rsyslogd
bc-server | > /usr/sbin/nginx
bc-server | > /usr/sbin/bc-server -u bluecherry -g bluecherry
bc-server | Aug 25 09:06:35 88e87883172e bc-server[31]: I(): Status reports are served at /tmp/bluecherry_status
bc-server | Aug 25 09:06:35 88e87883172e bc-server[31]: I(): Status reports are served at /tmp/bluecherry_trigger
bc-server | Aug 25 09:06:35 88e87883172e bc-server[31]: I(): Started bc-server 3.1.1 (toolchain 9.4.0) v2.7.6-880-g0cc20a5a-dirty heads/master
bc-server | Aug 25 09:06:35 88e87883172e bc-server[31]: I(): API server started listen to port: 7005
bc-server | Aug 25 09:06:35 88e87883172e bc-server[31]: I(): HLS server started listen to port: 7003 (SSL=0)
bc-server | Aug 25 09:07:04 88e87883172e bc-server[31]: E(): Could not open database after 30 tries, aborting
bc-server exited with code 0
bc-server | > /usr/sbin/rsyslogd
^CGracefully stopping... (press Ctrl+C again to force)
As always thanks for the amazing product, i think my 1yr support may have expired, or expiring soon.
I’ll see what i can do to continue to support you guys!
But im sure I’ll need my license key re-armed for the 4th time… SORRY!