threefoldtecharchive / jumpscaleX_core

Apache License 2.0
1 stars 6 forks source link

3bot GUI resturns EOF error after reboot #829

Closed chrisvdg closed 4 years ago

chrisvdg commented 4 years ago

I installed the 3bot was able to use the 3bot GUI, shutdown the PC it was running on for the weekend.

When I restarted the PC I restarted the 3bot container using the docker cli. Browsing to https://localhost:4000 returned an EOF ssl error.

Stopped the 3bot container using the docker cli and executed container threebot withing the 3sdk. Same error when browsing to https://localhost:4000

photo5893136953853981274 photo5893136953853981278

chrisvdg commented 4 years ago

Nothing special in the containers logs I think

docker logs 3bot (click to expand) ```sh *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... *** Running /etc/my_init.d/10_syslog-ng.init... [2020-05-08T14:20:27.681613] WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.19 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file.; May 8 14:20:27 3bot syslog-ng[13]: syslog-ng starting up; version='3.19.1' [2020-05-08T14:20:27.711009] WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!; *** Booting runit daemon... *** Runit started as PID 44 May 8 14:20:28 3bot cron[48]: (CRON) INFO (pidfile fd = 3) May 8 14:20:28 3bot cron[48]: (CRON) INFO (Skipping @reboot jobs -- not system startup) *** Shutting down runit daemon (PID 44)... *** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown... May 8 14:40:38 3bot syslog-ng[13]: syslog-ng shutting down; version='3.19.1' *** Init system aborted. *** Killing all processes... *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... *** Running /etc/my_init.d/10_syslog-ng.init... [2020-05-11T06:53:01.148081] WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.19 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file.; [2020-05-11T06:53:01.229813] WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!; May 11 06:53:01 3bot syslog-ng[12]: syslog-ng starting up; version='3.19.1' *** Booting runit daemon... *** Runit started as PID 20 May 11 06:53:02 3bot cron[24]: (CRON) INFO (pidfile fd = 3) May 11 06:53:02 3bot cron[24]: (CRON) INFO (Skipping @reboot jobs -- not system startup) *** Shutting down runit daemon (PID 20)... *** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown... May 11 06:55:46 3bot syslog-ng[12]: syslog-ng shutting down; version='3.19.1' *** Init system aborted. *** Killing all processes... *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... *** Running /etc/my_init.d/10_syslog-ng.init... [2020-05-11T06:55:56.626232] WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.19 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file.; [2020-05-11T06:55:56.645428] WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!; May 11 06:55:56 3bot syslog-ng[12]: syslog-ng starting up; version='3.19.1' *** Booting runit daemon... *** Runit started as PID 20 May 11 06:55:57 3bot cron[23]: (CRON) INFO (pidfile fd = 3) May 11 06:55:57 3bot cron[23]: (CRON) INFO (Skipping @reboot jobs -- not system startup) *** Shutting down runit daemon (PID 20)... *** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown... May 11 07:23:38 3bot syslog-ng[12]: syslog-ng shutting down; version='3.19.1' *** Init system aborted. *** Killing all processes... ```
grimpy commented 4 years ago

it's not intended to be used that way to start your container again you need to use the 3sdk command

chrisvdg commented 4 years ago

And what is the intended 3sdk command?

grimpy commented 4 years ago
3sdk> container start server=True 

Note: In next version container command will be hidden under --expert mode and a new command will be made available called threebot which you could just use threebot start (server is implied)