this post was submitted on 17 Jan 2024
11 points (82.4% liked)

Selfhosted

40394 readers
357 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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?

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 10 months ago
[–] [email protected] 7 points 10 months ago* (last edited 10 months ago)

Did you try

sudo snap remove --purge nextcloud

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%20the%20password%20reset%20link,to%20reset%20it%20for%20you.

[–] [email protected] 6 points 10 months ago (1 children)

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.

[–] sidgames5 2 points 10 months ago

I will try that

[–] [email protected] 4 points 10 months ago (1 children)

Are you trying to recover data here?
Seems like you didn't use it and (maybe?) don't have data to lose here?

[–] sidgames5 1 points 10 months ago

No. I didn't have any data stored

[–] possiblylinux127 2 points 10 months ago

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

[–] [email protected] -5 points 10 months ago (2 children)

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.

[–] [email protected] 6 points 10 months ago

FYI Nexctloud supports webdav.

[–] [email protected] 3 points 10 months ago

Cool story. 🙄