I managed to install and set up nextcloud snap on my ubuntu server a couple months ago. I haven’t used it since and now I tried to log in to it but I forgot the username and password. I tried uninstalling and reinstalling the snap to reset the data but i couldn’t access the web page. I couldn’t find anything online. Any suggestions?
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Did you try
This will remove the data directory of Nextcloud. Alternatively you can check where snapd is creating this directory and remove it manually.
If you also have entered your email in Nextcloud you can try to reset your password over the mail. https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/reset_admin_password.html#:~:text=Click the password reset link,to reset it for you.
This is a major reason to use simpler technology.
I can’t help you, but i had a similar experience with similar technology. I spent lots of time recovering content. I succeeded, but i have software development experience. I didn’t want a repeat of that.
In the end I picked windows file sharing for home networking and filebrowser for occasional access to data files from outside of home networking.
Web dav is a very good alternative. Apache web server will be easier, but nginx can be made to work.
Joplin is another good alternative, which is based on web dav.
You can pay around $2-$3 a month to shared services provider for hosted web dav.
FYI Nexctloud supports webdav.
Cool story. 🙄
Have you tried reading the docs?
https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/reset_admin_password.html
Are you trying to recover data here?
Seems like you didn’t use it and (maybe?) don’t have data to lose here?
No. I didn’t have any data stored
I don’t know much about the snap but you can use docker compose to stand up a deployment pretty quickly. If you aren’t super confident you could use Nextcloud AIO
Did you remove the snap with purge?
Like, sudo snap remove --purge nextcloud? Because the purge will (should) erase stopped passwords and stuff.
I have a snap Nextcloud that I’ve managed to keep alive for seven years now… I’ve had a few issues, but it’s been pretty good overall.
One day I’ll put up a Docker and move everything over… One day.
I will try that