Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Vikunja
  3. Error resetting user password with CLI: "Could not connect to db: read-only file system"

Error resetting user password with CLI: "Could not connect to db: read-only file system"

Scheduled Pinned Locked Moved Solved Vikunja
3 Posts 2 Posters 624 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dreamcatch22
    wrote on last edited by
    #1

    Hi everyone,

    I’m trying to reset a user’s password with Vikunja CLI using the following command:

    vikunja user reset-password [username] --direct --password [password]
    

    Here is the error i keep hitting:

    INFO      ▶ 001 No config file found, using default or config from environment variables.
    INFO      ▶ 002 Running migrations…
    CRITICAL  ▶ 003 Could not connect to db: could not open database file [uid=0, gid=0]: open ./vikunja.db: read-only file system
    

    I have done this in the past and it worked. Not sure if anything has changed, but any guidance would be appreciated. I just want to get the user password reset without breaking anything.

    Thanks!

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      The vikunja cli tool only works when run from the /app/data directory. So just run:

      cd /app/data
      vikunja user list
      

      Will see if we can make this the default in the package.

      1 Reply Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #3

        The new app package has the default folder set to /app/data so the cli now works out of the box

        1 Reply Last reply
        0
        • nebulonN nebulon has marked this topic as solved on

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search