YunoHost-Apps / actual_ynh

Actual package for YunoHost
GNU General Public License v3.0
5 stars 3 forks source link

Password reset #40

Open pacbidouandco opened 2 weeks ago

pacbidouandco commented 2 weeks ago

Hello, I'm currently using Actual Budget with Yunohost ans I would Like to reset my password. I haven't found any command line to do that. Can you help me with that please ? Thank you

Quiwy commented 2 days ago

Go to /var/www/actual. And run npm run reset-password.

Source

Just tried it, seems working.

pacbidouandco commented 1 day ago

hi,

I tried this command line, but it says : npm command not found

What npm means ?

Thanks for your help

16 septembre 2024 à 16:56 "Quiwy" @.***> a écrit:

Go to /var/www/actual. And run npm run reset-password.

Source https://actualbudget.org/docs/troubleshooting/reset_password/

Just tried it, seems working.

— Reply to this email directly, view it on GitHub https://github.com/YunoHost-Apps/actual_ynh/issues/40#issuecomment-2353163014 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AL54I3NFMJNYTT6FPRTEQLLZW3WRNAVCNFSM6AAAAABNM7ILWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTGE3DGMBRGQ . You are receiving this because you authored the thread.

Quiwy commented 15 hours ago

Sorry, it seems I have npm installed for my user.

Just tested on a fresh yunohsot virtualbox install. Here you can find how to reset the password :

  1. get node version loaded into the path PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  2. reset the password : sudo PATH="$PATH" /opt/node_n/n/versions/node/18/bin/npm run --prefix /var/www/actual reset-password
  3. enter the new password, twice

It should work. Let me know if you need more help.