Giter Site home page Giter Site logo

Comments (6)

ssddanbrown avatar ssddanbrown commented on June 7, 2024

Hi @dani,
From only a quick glance I'm not too sure what's in vs out of the container in your setup.
That error indicates some caching exists build for the old version, being ran on the new version, which then errors since it's attempting to load a package that's no longer used.

Do you know if bootstrap/cache files are part of volume data stored out of the container, or are they in-container only?

from bookstack.

dani avatar dani commented on June 7, 2024

Indeed, my bootstrap/cache were stored in a persistent volume. Wiping it makes the migrate command run. First time I encounter this issue (in at least 4 years of BookStack upgrades ;-) ). Maybe the doc should mention it ?

from bookstack.

ssddanbrown avatar ssddanbrown commented on June 7, 2024

Wiping it makes the migrate command run.

Good to hear, I'll therefore close this off.

Maybe the doc should mention it ?

To be honest it's not worth adding to the doc, and will only add confusion, since it's not relevant in the vast majority of cases unless you have a specific scenario like yours. Normally, the composer install command updates that cache as part of the update process.

from bookstack.

dani avatar dani commented on June 7, 2024

OK, thanks for your help, I've added a manual wipe of this cache before upgrades in my image

from bookstack.

C0rn3j avatar C0rn3j commented on June 7, 2024
[0] # ls -lah # alias of lsd
drwxrwxr-x http http  48 B  Wed Nov 22 22:40:57 2023  .
drwxr-xr-x root root 164 B  Mon Nov  7 09:32:35 2022  ..
.rwxr-xr-x root root 1.4 KB Mon Nov  7 09:39:51 2022  packages.php
.rwxr-xr-x http http  19 KB Wed Nov 22 22:40:57 2023  services.php

Same issue, deleting the files fixed it, wonder if it's because of the permissions?

from bookstack.

virtadpt avatar virtadpt commented on June 7, 2024

@C0rn3j I ran into this problem as well, but the ownerships were me:me, so I don't think permissions had anything to do with it.

from bookstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.