Git Product home page Git Product logo

Comments (7)

pawelmalak avatar pawelmalak commented on May 18, 2024

Can you show listing of /app/data mounted volume?

from flame.

JaCoB1123 avatar JaCoB1123 commented on May 18, 2024
$ docker-compose run app ls -Al /app/data                                                                                                │
total 96                                                                                                                                                            │
-rwxr-xr-x    1 root     root         94208 Jun 25 02:00 db.sqlite                                                                                                  │
drwxr-xr-x    2 root     root          4096 Jun 25 02:05 uploads

from flame.

pawelmalak avatar pawelmalak commented on May 18, 2024

Are you getting the same error after restart?

from flame.

JaCoB1123 avatar JaCoB1123 commented on May 18, 2024

Yeah, I tried restarting multiple times and pulled the newest image as well.

from flame.

pawelmalak avatar pawelmalak commented on May 18, 2024

Here are a few things you can try. First copy db.sqlite and save it somewhere else outside mounted volume.

  • You can disable model synchronization and check if it changes anything. Console into running container and run nano db.js. Change value of: const syncModels = false; to true, save file and restart the container.
  • Open your database file with software like SQLiteStudio. Check how many tables you have. You should have 6 (apps, bookmarks, categories, config, weather, sqlite_sequence). If you have more you can try to drop them, save file and restart the container.
  • The last option is to stop container, delete database file and run it again. App will create new file but all data will be gone. If you disabled synchronization you need to re-enable it before stopping container.

from flame.

gitcatpeter avatar gitcatpeter commented on May 18, 2024

from flame.

JaCoB1123 avatar JaCoB1123 commented on May 18, 2024

I just checked my sqlite db and I have two additional tables apps_backup and bookmarks_backup.
Deleted the two tables and everything is back up running.

Thanks for the help.

@gitcatpeter seems like a good suggestion. If flame cannot start because of a db-issue it could look if a backup exists and use that one.

from flame.

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.