Is there a method to make a user account an admin from the host level? #4462
-
I have a memos instance that is running on Proxmox in a container. I noticed today that my user is not an admin and it is the only user other than the demo account on the instance. Is there a way I can promote my user to an admin? Maybe by the sqlite db? Thanks for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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
Let me know if this helps |
Beta Was this translation helpful? Give feedback.
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:sqlite3
package on your system to manage the sqlite database:apt install sqlite3
if you are running a Debian-based distributioncd ~/.memos
to cd into your memos data directory (it is the directory used in the container installa…