Closed 4d62 closed 3 months ago
postgres has startup logs cause i tried restarting the container
are you running via docker? if you aren't using the provided example docker-compose.yml file you should make sure that the postgres container has a volume or everytime it restarts it loses its data. otherwise I have no idea what's going on here, so I'll have to look into it later.
Yes, it is running on Docker. The only thing I modified from the suggested docker-compose.yml is the Postgres volume: it is now a file path. It shouldn't cause any issues as i've restarted other Postgres containers without any issues
edit: Db reset even if the container didn't restart
if it didn't restart, then there probably a 75% chance that it's not zipline's fault considering you might be sharing the volume with other stuff... i suggest using a separate volume for pg and if the database still deletes its self then we can move on to finding out why
Ok. I'll try that and reply if it happens again. First time i set Zipline up, it was using the default docker-compose with separate volumes tho.
closing as stale, don't really know what the problem is though.
What happened?
The users table seems to randomly delete itself. Has happened 3 times in the last few weeks
Version
latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)
What browser(s) are you seeing the problem on?
No response
Zipline Logs
Container Log: