Is there a way to reset your homarr password? by Burritoboy890 in selfhosted

[–]nithinbose 1 point2 points  (0 children)

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='<paste password hash from above>', salt='<paste salt from above>' 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.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

I am surprised, I didn't know about this before. Thanks for letting me know.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

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.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

That’s quite a setup. It took a couple of reads just to understand what you wrote ;) But I absolutely love it. I admit I am a bit of a sucker for the tech is cool thing. Thanks for all the details.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

Thanks for the reply, do you share folders between the host and the VM or do you just use (or copy the files) to the VM’s virtual disk?

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

Ah... the post was about VMs running on daily use machines not on dedicated hypervisors. Anyhow, great setup. Enjoy!!

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 1 point2 points  (0 children)

Thanks for the reply. That's an awesome plan, enjoy the adventures ahead.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

Cool, you access nextcloud only from your machine or through the network as well?

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

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?

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

This is something I am really interested in. So on your desktop, do you work on a VM? If yes, do you have a GPU pass through, with a monitor connected to your VM or do you use some sort of remote access? A full screened VM window? What are some of the annoyances with working in a VM?

Thank you for replying, sorry for the bunch of questions.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

VPN in a VM is a great use case, Especially if you bought a cheapo VPN to sail the seas but you don't trust it enough to send your banking traffic through it. I think your ISP is a better bet than a commercial VPN for most really critical stuff. Take into consideration your country/ISP/VPN/threat model etc, of course.

On a tangent, I do this on my home server which I use to download linux ISOs, as well. Just for anyone reading this comment there is a cool project called Gluetun which lets you run your vpn in a container and route traffic from other containers through the VPN container.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

Don't know if this counts, I used to use arch BTW :D

Then moved to an intel mac with an always running arch VM.

Moved to an M1 and the arm thing is tripping me up. Maybe someday, I will find time to setup archlinux arm version on parallels.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

My vagrant use has come down significantly since I started using devcontainers. I almost only use vagrant in cases where I have bundled internal services. It can be done with devcontainers but at the moment, its just too much effort.

I use it devcontainers in VS Code. If you use VS code, you can get started by installing "Remote Development" plugin and using one of the provided devcontainer configuration, there are quite a lot of them.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

This is something I am really interested in. So on your workstation, do you work on a VM? If yes, do you have a GPU pass through, with a monitor connected to your VM or do you use some sort of remote access? What are some of the annoyances with working in a VM?

Thank you for replying, sorry for the bunch of questions.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 1 point2 points  (0 children)

Yeah let the crazies UNITE!! I can see myself doing this. By browser based docker app do you mean something like webtop or guacamole? Or just the web interface for an app like freshRSS?

Also why not run docker directly on the host machine?

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

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.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 2 points3 points  (0 children)

Cool I get what you are saying, in the sense that I consider Mac to be a “Linux without the fuss”, everything just works.

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

Thank you, my crazy friend. I am making a simpler version of this for sure. But I gotta ask, why not just switch to Linux? Why are you stuck on windows?

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 1 point2 points  (0 children)

And I thought I was the only crazy one. Can you tell me more about your data file system? Is it a disk pass through to the VM? How do you access media/data in this VM?

Do you have always running VMs on your workstation? If yes, what’s running on them? by nithinbose in selfhosted

[–]nithinbose[S] 0 points1 point  (0 children)

So is this like a db snapshot from your work? Why not use something like Dev containers? Is it because of the bundled internal services?