diced / zipline

A ShareX/file upload server that is easy to use, packed with features, and with an easy setup!
https://zipline.diced.sh/
MIT License
1.49k stars 140 forks source link

Bug: Database dont work but password is right #507

Closed ColinAbi1707 closed 9 months ago

ColinAbi1707 commented 10 months ago

What happened?

Hey. It says "unable to connect to database" But the connection is right it works on other systems too. I use the following structure: postgresql://root:password@45.131.1111.143/colin-upload

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

2023-12-07 05:37:08,934 PM info  [datasource] using Local(/root/zipline/uploads) datasource
2023-12-07 05:37:08,976 PM info  [database::migrations] establishing database connection
2023-12-07 05:37:08,977 PM info  [database::migrations] ensuring database exists, if not creating database - may error if no permissions
2023-12-07 05:37:14,058 PM error [database::migrations] Unable to connect to database `postgresql://root:password@45.131.111.143/colin-upload`, check your database connection

Browser Logs

NO

Additional Info

No response

diced commented 9 months ago

Honestly have no idea what the problem is... Are you still having this issue? if so please try creating a new user or something like that.

diced commented 9 months ago

Closing as stale, this issue seems to be a rare exception anyway.