go-shiori / shiori

Simple bookmark manager built with Go
MIT License
9.04k stars 546 forks source link

Can't use anymore after last upgrade #901

Closed edied2002 closed 2 months ago

edied2002 commented 2 months ago

Data

Describe the bug / actual behavior

After last upgrade the web doesn't load and I can see this logs: time="2024-05-04T14:22:32Z" level=warning msg="SHIORI_HTTP_SECRET_KEY is not set, using random value. This means that all sessions will be invalidated on server restart." time="2024-05-04T14:22:32Z" level=fatal msg="Error running migration" error="failed to run migration from 0.0.0 to 0.1.0: failed to run transaction: failed to execute migration 0.0.0 to 0.1.0: attempt to write a readonly database (8)"

Expected behavior

Normal behavior

To Reproduce

Steps to reproduce the behavior: I did nothing, just upgrade the container

Screenshots

If applicable, add screenshots to help explain your problem.

Notes

Add any other context about the problem here.

fmartingr commented 2 months ago

Hey @edied2002, did you solve this? It was caused by Shiori?

From the logs you provide that's a change in the migration system for the next release. I upgraded my own instances without issues, from which version were you upgrading to that?

edied2002 commented 2 months ago

Hey @edied2002, did you solve this? It was caused by Shiori?

From the logs you provide that's a change in the migration system for the next release. I upgraded my own instances without issues, from which version were you upgrading to that?

Sorry, I searched and this was the problem as in this another post: https://github.com/go-shiori/shiori/issues/546