Skip to content

Is there a method to make a user account an admin from the host level? #4462

Answered by oslavq
adamsewell asked this question in Q&A
Discussion options

You must be logged in to vote

As far as I know, memos does not have a CLI with which you can modify users from the host

I just tried updating the sqlite database and setting a default user role to HOST and it totally worked, although I strongly advise you to back your database up before you do anything. I am assuming that you have some basic linux shell knowledge, I can explain further if you need to, just let me know. So, here is how to do this:

  1. Make sure to stop the memos container
  2. Install sqlite3 package on your system to manage the sqlite database: apt install sqlite3 if you are running a Debian-based distribution
  3. cd ~/.memos to cd into your memos data directory (it is the directory used in the container installa…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adamsewell
Comment options

Answer selected by adamsewell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants