[GH-ISSUE #733] ghcr.io/go-shiori/shiori:latest wrong version -- web extionsion error 404 #358

Closed
opened 2026-02-25 23:34:02 +03:00 by kerem · 23 comments
Owner

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.

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.
kerem 2026-02-25 23:34:02 +03:00
Author
Owner

@fmartingr commented on GitHub (Sep 15, 2023):

Hey @rmayergfx thanks for the report. This should have not happened. I have reverted latest to v1.5.5 and I'm going to check which version got pushed to latest and when.

Regarding the upgrade breaking for you, you mean that any URL gave 404 for you?

<!-- gh-comment-id:1721509537 --> @fmartingr commented on GitHub (Sep 15, 2023): Hey @rmayergfx thanks for the report. This should have not happened. I have reverted `latest` to v1.5.5 and I'm going to check which version got pushed to `latest` and when. Regarding the upgrade breaking for you, you mean that any URL gave 404 for you?
Author
Owner

@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.

<!-- gh-comment-id:1721518484 --> @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](https://github.com/go-shiori/shiori/actions/runs/6149062211/job/16684470054#step:5:15) that got fixed [here](https://github.com/go-shiori/shiori/commit/1d52569731e72d2dcb4236f3008912b58a310f6d), but we didn't notice it until now.
Author
Owner

@rmayergfx commented on GitHub (Sep 15, 2023):

Hey @rmayergfx thanks for the report. This should have not happened. I have reverted latest to v1.5.5 and I'm going to check which version got pushed to latest and when.

Regarding the upgrade breaking for you, you mean that any URL gave 404 for you?

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.

<!-- gh-comment-id:1721628480 --> @rmayergfx commented on GitHub (Sep 15, 2023): > Hey @rmayergfx thanks for the report. This should have not happened. I have reverted `latest` to v1.5.5 and I'm going to check which version got pushed to `latest` and when. > > Regarding the upgrade breaking for you, you mean that any URL gave 404 for you? 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.
Author
Owner

@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

<!-- gh-comment-id:1722150575 --> @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 https://github.com/go-shiori/shiori-web-ext/commit/50b0d388faf9d5257881cfe53b4f2c766dbe5a33
Author
Owner

@fmartingr commented on GitHub (Sep 16, 2023):

I just tried an upgrade locally from 1.5.5 to latest master and 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.

<!-- gh-comment-id:1722173728 --> @fmartingr commented on GitHub (Sep 16, 2023): I just tried an upgrade locally from 1.5.5 to latest `master` and 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.
Author
Owner

@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:
grafik

This one is not running, i am getting constantly
"standard_init_linux.go:230: exec user process caused: exec format error"

grafik

<!-- gh-comment-id:1722220454 --> @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: ![grafik](https://github.com/go-shiori/shiori/assets/105392164/d8e8a010-828e-40d6-a370-2a14c8b665c8) This one is not running, i am getting constantly "standard_init_linux.go:230: exec user process caused: exec format error" ![grafik](https://github.com/go-shiori/shiori/assets/105392164/adfbcce8-5ab6-4a87-9294-f90c81542d51)
Author
Owner

@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.

<!-- gh-comment-id:1722267010 --> @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.
Author
Owner

@rmayergfx commented on GitHub (Sep 17, 2023):

Sorry, here is my install script, run with a scheduler as root:

docker run -e "SHIORI_DIR=/srv/shiori" -d --name=shiori_go_shiori
-p 41955:8080
-v /volume1/docker/shiori_go_shiori:/srv/shiori
--restart always
ghcr.io/go-shiori/shiori:latest

<!-- gh-comment-id:1722453000 --> @rmayergfx commented on GitHub (Sep 17, 2023): Sorry, here is my install script, run with a scheduler as root: > docker run -e "SHIORI_DIR=/srv/shiori" -d --name=shiori_go_shiori \ -p 41955:8080 \ -v /volume1/docker/shiori_go_shiori:/srv/shiori \ --restart always \ ghcr.io/go-shiori/shiori:latest
Author
Owner

@beanpuppy commented on GitHub (Sep 18, 2023):

@fmartingr I had this problem too and had to revert back to v1.5.5. It seems like latest only has the linux/arm64 platform. Running docker pull --platform=linux/amd64 ghcr.io/go-shiori/shiori:latest will download with this message:

image with reference ghcr.io/go-shiori/shiori:latest was found but does not match the specified platform: wanted linux/amd64, actual: linux/arm64

docker inspect ghcr.io/go-shiori/shiori:latest also confirms that the arm version is being used.

<!-- gh-comment-id:1723095917 --> @beanpuppy commented on GitHub (Sep 18, 2023): @fmartingr I had this problem too and had to revert back to `v1.5.5`. It seems like `latest` only has the `linux/arm64` platform. Running `docker pull --platform=linux/amd64 ghcr.io/go-shiori/shiori:latest` will download with this message: > image with reference ghcr.io/go-shiori/shiori:latest was found but does not match the specified platform: wanted linux/amd64, actual: linux/arm64 `docker inspect ghcr.io/go-shiori/shiori:latest` also confirms that the arm version is being used.
Author
Owner

@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 404 when I try to deploy ghcr.io/go-shiori/shiori:v1.5.5

<!-- gh-comment-id:1723187153 --> @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 404` when I try to deploy `ghcr.io/go-shiori/shiori:v1.5.5`
Author
Owner

@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

<!-- gh-comment-id:1723623090 --> @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
Author
Owner

@janaxhell 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

If I pull I get a message that says that image is already ok

root@openmediavault:~# docker pull ghcr.io/go-shiori/shiori:v1.5.5
v1.5.5: Pulling from go-shiori/shiori
Digest: sha256:296c603c55a803bc0ca02d9d2f2feb43b84352069b380b61df45f8cd0a6c7bb3
Status: Image is up to date for ghcr.io/go-shiori/shiori:v1.5.5
ghcr.io/go-shiori/shiori:v1.5.5

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:

exec /usr/bin/shiori: exec format error
exec /usr/bin/shiori: exec format error
exec /usr/bin/shiori: exec format error
exec /usr/bin/shiori: exec format error

So for now I stay on 1.5.5

<!-- gh-comment-id:1723677491 --> @janaxhell 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 If I pull I get a message that says that image is already ok ``` root@openmediavault:~# docker pull ghcr.io/go-shiori/shiori:v1.5.5 v1.5.5: Pulling from go-shiori/shiori Digest: sha256:296c603c55a803bc0ca02d9d2f2feb43b84352069b380b61df45f8cd0a6c7bb3 Status: Image is up to date for ghcr.io/go-shiori/shiori:v1.5.5 ghcr.io/go-shiori/shiori:v1.5.5 ``` 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` :latest `with 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` :latest `and it confirms to be faulty, it replies: ``` exec /usr/bin/shiori: exec format error exec /usr/bin/shiori: exec format error exec /usr/bin/shiori: exec format error exec /usr/bin/shiori: exec format error ``` So for now I stay on 1.5.5
Author
Owner

@JourneyOver commented on GitHub (Sep 18, 2023):

yep getting the same error message as @janaxhell with the:

exec /usr/bin/shiori: exec format error
exec /usr/bin/shiori: exec format error
exec /usr/bin/shiori: exec format error
exec /usr/bin/shiori: exec format error

being constantly thrown on latest

<!-- gh-comment-id:1723794559 --> @JourneyOver commented on GitHub (Sep 18, 2023): yep getting the same error message as @janaxhell with the: ``` exec /usr/bin/shiori: exec format error exec /usr/bin/shiori: exec format error exec /usr/bin/shiori: exec format error exec /usr/bin/shiori: exec format error ``` being constantly thrown on latest
Author
Owner

@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

<!-- gh-comment-id:1724102475 --> @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
Author
Owner

@rmayergfx commented on GitHub (Sep 19, 2023):

Can you please set latest to the working v1.5.5 until it is fixed?

<!-- gh-comment-id:1724927178 --> @rmayergfx commented on GitHub (Sep 19, 2023): Can you please set latest to the working v1.5.5 until it is fixed?
Author
Owner

@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 latest tag is fixed? Should be recreated from the 1.5.5 code and to all supported platforms.

<!-- gh-comment-id:1726539287 --> @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 `latest` tag is fixed? Should be recreated from the 1.5.5 code and to all supported platforms.
Author
Owner

@beanpuppy commented on GitHub (Sep 19, 2023):

latest is working for me.

<!-- gh-comment-id:1726681829 --> @beanpuppy commented on GitHub (Sep 19, 2023): `latest` is working for me.
Author
Owner

@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 error

To make it work I MUST use :v1.5.5, in which case I get
time="2023-09-20T16:45:10Z" level=info msg="Serve shiori in :8080 /"
and Shiori works fine.

FYI my docker-compose (x86 machine)

version: "3"
services:
  shiori:
    image: ghcr.io/go-shiori/shiori:latest
    container_name: shiori
    environment:
      - PUID=998
      - PGID=100
      - SHIORI_DIR=/data
    ports:
      - 5852:8080
    network_mode: bridge
    restart: unless-stopped
    volumes:
      - /srv/dev-disk-by-uuid-5b67514d-485e-4306-873e-b1cbb54ccf99/Config/Shiori:/data

networks:
  default:
    external:
      name: omv1

<!-- gh-comment-id:1728100879 --> @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 error` To make it work I MUST use `:v1.5.5`, in which case I get `time="2023-09-20T16:45:10Z" level=info msg="Serve shiori in :8080 /"` and Shiori works fine. FYI my docker-compose (x86 machine) ``` version: "3" services: shiori: image: ghcr.io/go-shiori/shiori:latest container_name: shiori environment: - PUID=998 - PGID=100 - SHIORI_DIR=/data ports: - 5852:8080 network_mode: bridge restart: unless-stopped volumes: - /srv/dev-disk-by-uuid-5b67514d-485e-4306-873e-b1cbb54ccf99/Config/Shiori:/data networks: default: external: name: omv1 ```
Author
Owner

@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

<!-- gh-comment-id:1728118180 --> @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
Author
Owner

@janaxhell commented on GitHub (Sep 20, 2023):

Ahh, sorry, yes, after (force) removing all shiori images, I could deploy using :latest
It works fine now, thanks

<!-- gh-comment-id:1728125405 --> @janaxhell commented on GitHub (Sep 20, 2023): Ahh, sorry, yes, after (force) removing all shiori images, I could deploy using `:latest ` It works fine now, thanks
Author
Owner

@fmartingr commented on GitHub (Sep 20, 2023):

Ahh, sorry, yes, after (force) removing all shiori images, I could deploy using :latest

It works fine now, thanks

Awesome to hear that :)

<!-- gh-comment-id:1728250007 --> @fmartingr commented on GitHub (Sep 20, 2023): > Ahh, sorry, yes, after (force) removing all shiori images, I could deploy using `:latest ` > > It works fine now, thanks Awesome to hear that :)
Author
Owner

@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:

Failed to open database: unable to open database file: out of memory (14)

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:
grafik

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:

docker pull peppershade/shiori
https://registry.hub.docker.com/r/peppershade/shiori/

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:
grafik

sha256:e3316a5daf9d1ca2c0bfe3d65c62b494e7b4032ad2a243fddb941c3e0275e48a

<!-- gh-comment-id:1731012859 --> @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: > Failed to open database: unable to open database file: out of memory (14) 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: ![grafik](https://github.com/go-shiori/shiori/assets/105392164/c5352ee1-5395-49b1-90c3-ae6c1c80dcdf) 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: > docker pull peppershade/shiori [https://registry.hub.docker.com/r/peppershade/shiori/](https://registry.hub.docker.com/r/peppershade/shiori/) 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: ![grafik](https://github.com/go-shiori/shiori/assets/105392164/21c090b6-bd84-46bd-b001-6f755b8a977f) > sha256:e3316a5daf9d1ca2c0bfe3d65c62b494e7b4032ad2a243fddb941c3e0275e48a
Author
Owner

@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).

<!-- gh-comment-id:1744263132 --> @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).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#358
No description provided.