server
server copied to clipboard
cannot start server in an ec2 instance
Hi, I am trying to set up wandb-local
in an AWS EC2 instance, following the documentation here I ran the following command to start my container
docker run --rm -d -v wandb:/vol -p 8080:8080 --name wandb-local wandb/local
But the server doesn't seem to start, when I connect to port 8080 of the instance I am getting the following message
and these are the logs from my docker
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/01_enable-services.sh...
*** Copying services to runit
*** Copying jobber template
*** Enabling production mode
*** Running /etc/my_init.d/02_load-settings.sh...
*** Loading settings...
*** Booting runit daemon...
*** Runit started as PID 48
*** Starting wandb servers...
*** Migrating database...
panic: Dirty database version 1. Fix and force version.
goroutine 1 [running]:
main.main()
/mnt/ramdisk/core/services/gorilla/cmd/migrate/main.go:115 +0xb05
*** All services started
*** Access W&B at http://localhost:8080
!!! Unable to start backend, see logs at /var/logs. Trying again in 1 minute
!!! Set the environment variable LOCAL_RESTORE=true if you're unable to login to the admin console
Any leads on this will be really useful. Thank you.