arcane icon indicating copy to clipboard operation
arcane copied to clipboard

🐞 Bug: Arcane self-update from v1.7.2 to v1.9.0 false success

Open Ithrial opened this issue 1 year ago • 6 comments

Bug Description

Good morning - Arcane reported an update to version 1.9.0. Clicked the update button and watched the progress. Update was said to have been found, applied and page reload however, still on 1.7.2

Steps To Reproduce

  1. Login
  2. Click Update to 1.9.0
  3. Wait
  4. Page Refresh
  5. Still on 1.7.2

Expected Behavior

Expected the update to be applied

Actual Behavior

Message saying update successful and then page refreshes and still on old version. I've even repulled the container image to make sure it was clean.

Screenshots

Image

Arcane Version

v1.7.2

Operating System

Linux

Browser

Edge

Docker Version

28.5.0

Additional Context

No response

Ithrial avatar Nov 25 '25 16:11 Ithrial

Same experience on multiple hosts. I first did a docker compose down/pull/up from cli (quite certain I was replacing image 1.7.0 with 1.7.2 but didn't log the changes to be 100% sure). I then went to the UI to do the UI upgrade to 1.9.0.

I'm definitely using latest

$ docker pull ghcr.io/ofkm/arcane:latest
latest: Pulling from ofkm/arcane
Digest: sha256:6733c4971a2289441c187f185ccd404139bb2be72e261d85a2884edb00b254d5
Status: Image is up to date for ghcr.io/ofkm/arcane:latest
ghcr.io/ofkm/arcane:latest

$ docker image inspect 62eda8e7fb0b
[
    {
        "Id": "sha256:62eda8e7fb0b01000ff343036c683064f272adcee3e8b77662bcf0024d640467",
        "RepoTags": [
            "ghcr.io/ofkm/arcane:latest"
        ],
        "RepoDigests": [
            "ghcr.io/ofkm/arcane@sha256:6733c4971a2289441c187f185ccd404139bb2be72e261d85a2884edb00b254d5"
        ],
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2025-10-30T17:57:43.64184816Z",
        "Config": {
            "ExposedPorts": {
                "3552/tcp": {}
            },
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "DOCKER_GID=998",
                "PUID=2000",
                "PGID=2000",
                "GIN_MODE=release",
                "PORT=3552",
                "ENVIRONMENT=production"
            ],
            "Entrypoint": [
                "/usr/local/bin/entrypoint.sh"
            ],
            "Cmd": [
                "./arcane"
            ],
            "Volumes": {
                "/app/data": {}
            },
            "WorkingDir": "/app",
            "Labels": {
                "com.ofkm.arcane.server": "true",
                "com.ofkm.arcane.updater": "false",
                "org.opencontainers.image.authors": "OFKM Technologies",
                "org.opencontainers.image.created": "2025-10-30T17:56:12.506Z",
                "org.opencontainers.image.description": "Modern Docker Management, Designed for Everyone",
                "org.opencontainers.image.documentation": "https://github.com/ofkm/arcane/blob/main/README.md",
                "org.opencontainers.image.licenses": "BSD-3-Clause",
                "org.opencontainers.image.ref.name": "arcane",
                "org.opencontainers.image.revision": "e44c68de6dca00092f7e9fa19548d75f16d147cc",
                "org.opencontainers.image.source": "https://github.com/ofkm/arcane",
                "org.opencontainers.image.title": "arcane",
                "org.opencontainers.image.url": "https://github.com/ofkm/arcane",
                "org.opencontainers.image.version": "v1.7.2"
            },
            "ArgsEscaped": true
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 116202033,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/4743af1cb8535c904b082fae9d02c2616d1acc815e7050b4300d1bd25e6b732b/diff:/var/lib/docker/overlay2/4b12219bd5817bf37bb5e0e81664f087fdf9c18ffc3003510b4e0fa081e328ac/diff:/var/lib/docker/overlay2/4de9cb007efe6b6cd4d98726e32b78986ec3f5f13bf029aa1f64faa709b547ea/diff:/var/lib/docker/overlay2/2cfe9c520dbb9e8e9a211d170a4787da4fa0a419b8a65ea8c348ee9e72010e17/diff:/var/lib/docker/overlay2/d125d822d4ad307264d95218412ee3ec07e8a855efafccb600b1caf0d9c1d5bf/diff:/var/lib/docker/overlay2/d22dc8ba555895eceb374ddb3dc8d588c198470b4b3eb39dbaa99833c9255e7e/diff",
                "MergedDir": "/var/lib/docker/overlay2/fa75eea22146b6f2b1e83534c4933a44fbc47a1dfd02f2b2d5f0e576949251fc/merged",
                "UpperDir": "/var/lib/docker/overlay2/fa75eea22146b6f2b1e83534c4933a44fbc47a1dfd02f2b2d5f0e576949251fc/diff",
                "WorkDir": "/var/lib/docker/overlay2/fa75eea22146b6f2b1e83534c4933a44fbc47a1dfd02f2b2d5f0e576949251fc/work"
            },
            "Name": "overlay2"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:256f393e029fa2063d8c93720da36a74a032bed3355a2bc3e313ad12f8bde9d1",
                "sha256:1f1caa2eb1863940987369a26677d7f5029e2ae1703476cdbb44b7066ceded8b",
                "sha256:a57bfa5f243bd596381f8bbdf6b73ad3caaa68ad426bef488293af3b075ac9d1",
                "sha256:e1c948abae833bb985d0d676fb82bfc0cb3def3dd05e5f75765d43817ab85d45",
                "sha256:19c6776324f7dd30890de89f4b0e37d135b5482f2f2c2de06acead3a8b9b084e",
                "sha256:564470ed5e6e7084e2389197aa970ab4ec522c5778a0746cd3ecaced733c7c0d",
                "sha256:2270f717c4ce6c84629846d3a37553e40b1203c32a83d2bf47d47910c6fdf88d"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }
]

x86NOP avatar Nov 26 '25 00:11 x86NOP

I've been seeing this also but didn't know if it was just a "me" thing. I tried pulling manually instead of relying on the in app updater with same results. For those that have tried, have you tried pulling via CLI also? I'm still new-ish so what a relief this might not be me.

psych avatar Nov 26 '25 01:11 psych

I'll first say it's very much an anti-pattern to have a container in which one application version exists and it uses an external update mechanism to change the runtime within the container. The pattern is to build a new image with the specified application version within and have no update mechanisms. This is done for many reasons including security, which is quite important for a container with orchestration capabilities.

@psych the "latest" container we're discussing is actually 1.7.2 that provides a (broken) mechanism to update to 1.9.0 which is this anti-pattern. The accepted/appropriate pattern would be an entirely new image for 1.9.0 which doesn't exist. There really should be no "update via UI" method for container following accepted containerization principals.

I'm not here to bash on Arcane as I'm overwhelmingly pleased with the effort, quality, and direction of the project. However, I'd much rather see this anti-pattern of in-app updating be changed to building a new container image for each application release over the current attempt of in-app upgrades. I'm happy to contribute some time/code if the project devs would like to discuss further.

x86NOP avatar Nov 27 '25 00:11 x86NOP

Update your image. It says it on the README that the org has changed. image: ghcr.io/getarcaneapp/arcane:latest

Assuming the issue as this is from the logs.

ghcr.io/ofkm/arcane:latest```

ThreeTheOG avatar Nov 27 '25 11:11 ThreeTheOG

@ThreeTheOG my oversight, thanks. Updating this and using the AUTO_UPDATE=false env provides the behavior I was describing.

x86NOP avatar Nov 28 '25 18:11 x86NOP

I linked the wrong issue to the PR, my bad...

kmendell avatar Nov 30 '25 00:11 kmendell