mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[GH-ISSUE #733] ghcr.io/go-shiori/shiori:latest wrong version -- web extionsion error 404 #358
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#358
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rmayergfx on GitHub (Sep 15, 2023).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/733
Originally assigned to: @fmartingr on GitHub.
Something is going wrong here...
ghcr.io/go-shiori/shiori:latest is not loading v1.5.5, instead some pre 1.6, killed today my instance on synology nas.
ghcr.io/go-shiori/shiori:latest
sha256:2451d9754f329ffeb494cdc465bd86d934efaea996e46ac6595c6421e3a47e7d
v1.6xxx
time="2023-09-15T12:42:25Z" level=info msg="Starting Shiori v1.6.0-next"
v1.5.5
sha256:6dc5c6256cc6b1f87a7f404f4206463e4190d10c9ce302fab30eed343b3f1287
Got system back with backup of the docker folder and
docker pull ghcr.io/go-shiori/shiori:v1.5.5
After Update to latest (1.6.x) the system throws an error 404. To fix this, is started with a new clean database, but this is not working with web extension 0.8.7, no login, always error 404 with Firefox and Chrome, both latest release. Back on v.1.5.5 all works fine again.
@fmartingr commented on GitHub (Sep 15, 2023):
Hey @rmayergfx thanks for the report. This should have not happened. I have reverted
latestto v1.5.5 and I'm going to check which version got pushed tolatestand when.Regarding the upgrade breaking for you, you mean that any URL gave 404 for you?
@fmartingr commented on GitHub (Sep 15, 2023):
Bogus run that pushed to
latest: https://github.com/go-shiori/shiori/actions/runs/6149062211/job/16684470054.There was a typo in the bash script here that got fixed here, but we didn't notice it until now.
@rmayergfx commented on GitHub (Sep 15, 2023):
Yes, system was no longer working. Getting error on Webpage and also with a clean database it is not possible to use 1.6 with web extension 0.8.7, login to get the cookie is reporting error 404.
@fmartingr commented on GitHub (Sep 16, 2023):
That's super weird. I have been updating my personal instance along to latest rcs and it works perfectly. I will try to do a 1.5.5 to 1.6.0-rc to check what's going on.
The webextension is expected, since the API changed. Once 1.6.0 is released we need to release a new extension version along with
github.com/go-shiori/shiori-web-ext@50b0d388fa@fmartingr commented on GitHub (Sep 16, 2023):
I just tried an upgrade locally from 1.5.5 to latest
masterand it worked, webserver was accesible and bookmarks were there. Can you give me more information about your setup? (environment variables to setup shiori, if you set the command to run manually, etc). Obviously removing any sensitive/irrelevant information.@rmayergfx commented on GitHub (Sep 16, 2023):
it´s very easy to explain.
i have a scheduled task once a week that is grabbing the latest image:
docker pull ghcr.io/go-shiori/shiori:latest
along with other images. The system tells me after the script is finished, which images are updated. I back the data and settings then i stop and reset the matching container,
there is no automation like in watchtower, so i can see if an when an image is updatet.
So i was able to see in portainer that the sha for both images are different and the protokoll shows me after the update was done that the protokoll is showing info msg="Starting Shiori v1.6.0-next"
and that was strange, as here in git v1.5.5 is shown as latest.
today i started my setup script again and i see that the latest image has a different size than v1.5.5, only 24 MB:

This one is not running, i am getting constantly
"standard_init_linux.go:230: exec user process caused: exec format error"
@fmartingr commented on GitHub (Sep 16, 2023):
I meant what configuration your shiori deployment have, like environment variables, commands ,etc. Or if you are using the defaults, to test what could have gone wrong.
@rmayergfx commented on GitHub (Sep 17, 2023):
Sorry, here is my install script, run with a scheduler as root:
@beanpuppy commented on GitHub (Sep 18, 2023):
@fmartingr I had this problem too and had to revert back to
v1.5.5. It seems likelatestonly has thelinux/arm64platform. Runningdocker pull --platform=linux/amd64 ghcr.io/go-shiori/shiori:latestwill download with this message:docker inspect ghcr.io/go-shiori/shiori:latestalso confirms that the arm version is being used.@janaxhell commented on GitHub (Sep 18, 2023):
I am having the same problem on docker x86, but I cannot revert to v1.5.5, what tag do you use? I keep getting
Request failed with status code 404when I try to deployghcr.io/go-shiori/shiori:v1.5.5@rmayergfx commented on GitHub (Sep 18, 2023):
This one was working for me:
docker pull ghcr.io/go-shiori/shiori:v1.5.5
taken from https://github.com/go-shiori/shiori/pkgs/container/shiori/112677461?tag=v1.5.5
and as we can see, the tag latest points out to a different version:
https://github.com/go-shiori/shiori/pkgs/container/shiori/128376074?tag=latest
sha checksum differs from v1.5.5
sha256:296c603c55a803bc0ca02d9d2f2feb43b84352069b380b61df45f8cd0a6c7bb3
latest:
sha256:67f5369d2379b7a61ffda445acf3c90fe2c07212ba008b71497db2faa91a7d56
@janaxhell commented on GitHub (Sep 18, 2023):
If I pull I get a message that says that image is already ok
But when I try to deploy from Portainer, I get error 404. I don't want to deploy outside Portainer, I have all my containers there and I want to be able to manage them all from there. Usually when this happened with other containers, I just replaced
:latestwith previous build number, and it worked fine, but in this case it doesn't.EDIT Ok, ok, my bad, there were no more networks available and Shiori could not be deployed, fixed that, deployed
v1.5.5, tried again:latestand it confirms to be faulty, it replies:So for now I stay on 1.5.5
@JourneyOver commented on GitHub (Sep 18, 2023):
yep getting the same error message as @janaxhell with the:
being constantly thrown on latest
@fmartingr commented on GitHub (Sep 18, 2023):
Please, use v1.5.5 for now until I can fix the latest image.
Sent from my phone
@rmayergfx commented on GitHub (Sep 19, 2023):
Can you please set latest to the working v1.5.5 until it is fixed?
@fmartingr commented on GitHub (Sep 19, 2023):
I had to jump in a codespace to fix the tag because I'm currently away, can someone confirm that the
latesttag is fixed? Should be recreated from the 1.5.5 code and to all supported platforms.@beanpuppy commented on GitHub (Sep 19, 2023):
latestis working for me.@janaxhell commented on GitHub (Sep 20, 2023):
Not so fast, :latest is not working for me, I'm still getting
exec /usr/bin/shiori: exec format errorTo make it work I MUST use
:v1.5.5, in which case I gettime="2023-09-20T16:45:10Z" level=info msg="Serve shiori in :8080 /"and Shiori works fine.
FYI my docker-compose (x86 machine)
@fmartingr commented on GitHub (Sep 20, 2023):
Have you deleted your local image and pulled again? Both latest and v1.5.5 were recreated at the same time.
Sent from my phone
@janaxhell commented on GitHub (Sep 20, 2023):
Ahh, sorry, yes, after (force) removing all shiori images, I could deploy using
:latestIt works fine now, thanks
@fmartingr commented on GitHub (Sep 20, 2023):
Awesome to hear that :)
@rmayergfx commented on GitHub (Sep 22, 2023):
Hello, just tried to use the fixed version. Deleted all old images and containers and did a fresh clean install with tag :latest
now i get inside the docker error:
There is a new clean folder created and shiori should install a fresh clean database, but nothing happens.
After deleting again all containers, images, rebooting docker i am now back online again with v1.5.5 but cannot add any new bookmark. system ist telling me:

So i am lost. Latest version will not create o new database, v.1.5.5 after clean install also fails and my database is locked!
How to fix this?
The only way to get my system back again online with no lock message was to use another image file:
i don´t know what is happening to the v1.5.5 release, but this one is now also broken for me, equal if loading by tag latest or v1.5.5.

At this point, i can see that both releases point out to the same image, checksum is identically:
@fmartingr commented on GitHub (Oct 3, 2023):
I'm unsure whats going on on your system, but that totally seems like a permissions issue from your docker to the data volume. Does it work using it without mounting the folders to any volumes for you? I just tried it locally and it runs, so I'm inclined to think is a premissions issue over the volume/folder you have mounted the shiori data into.
Regarding the other docker image I don't know where it's built from, but it seems pretty similar to ours (except that it creates a shiori folder for the data).