[-] nithinbose@alien.top 1 points 11 months ago

I faced this issue just now, if you are willing to get your hands dirty, do can do this:

  1. Create a new user with the new password from the UI
  2. Backup the SQLite database, just copying it should be enough.
  3. Open the database with sqlite, I used the cli:

sqlite3 db.sqlite
  1. Get the password hash and salt from the new user (assuming it to be test) and note these values, they will look like random characters

    select password from user where name='test'; select salt from user where name='test';

  2. Set the above values to the original user (assuming it to be admin)

    update user set password='', salt='' where name='admin';

I did all the above just to avoid setting up everything again. You be the judge if its worth the trouble. I am new to homarr so I am not sure if there is an easier hack for this, without setting up everything again.

You can do this from an sqlite UI editor as well I guess.

[-] nithinbose@alien.top 1 points 11 months ago

Yeah that was my thought too booting from the physical disk usually doesn't work. Just had to ask in case, WSL had something up its sleeve to magically do this, I guess not.

Seems like you are a database guy, are they all always running?

Thank you for your reply.

[-] nithinbose@alien.top 1 points 11 months ago

That's cool. What OS are you running on the VM? How do you access these services, only from your workstation or across the home network? Is the machine always on so that you can access your media/PiHole?

[-] nithinbose@alien.top 1 points 11 months ago

I am really curious to know what services you are running.

I don't use Windows so unfamiliar with Hyper-V do you pass through your physical arch disk into the VM? Are you able to boot arch from the disk or do you use it to just access the files on the disk?

Thanks for your reply.

2
submitted 11 months ago by nithinbose@alien.top to c/main@selfhosted.forum

To clarify I am not asking about a dedicated machine running something like Proxmox or Esxi. My question is about VMs running on your daily use machine on something like VirtualBox, VM ware fusion, parallels etc

nithinbose

joined 11 months ago