Kovah/LinkAce

Docker image: docker startup does not clear application cache

Offen

#1.002 geöffnet am 04.09.2025

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)PHP (205 Forks)batch import
EnhancementHelp wanted

Repository-Metriken

Stars
 (3.329 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 4T 20h) (4 gemergte PRs in 30 T)

Beschreibung

Bug Description

When updating linkace docker image (with a docker volume mounted on /app/storage), the docker image startup process does not clear application cache.

As a result, the linkace version displayed at the bottom of linkace pages stays the same and keep alerting that an update is needed.

I think this is the least of the possible issues.

How to reproduce

  1. install linkace 2.1.9 using docker with a docker volume mounted on /app/storage.
  2. browse the site a little as a logged in user.
  3. update the image to 2.2.0 4.browse the site as a logged in user. The bottom of the pages stays at 2.1.9.

Expected behavior

The docker image clear the cache at startup with php artisan cache:clear.

Logs

Screenshots

No response

LinkAce version

v2.2.0

Setup Method

Docker

Operating System

Linux (Ubuntu, CentOS,...)

Client details

No response

Contributor Guide