basic_user

joined 2 years ago
 

Hi,

I've been following this guide to set up some basic selfhosted services (video) https://www.youtube.com/watch?v=qlcVx-k-02E (text) https://notthebe.ee/blog/easy-ssl-in-homelab-dns01/

I've managed to get things working, but DuckDNS (duckdns.org) seems to be unresponsive most of the time. I then tried to register my DNS at FreeDNS (freedns.afraid.org), but the generation of a ssl certificate in Nginx fails. I get the following error message in Nginx:

CommandError: Saving debug log to /tmp/letsencrypt- 
log/letsencrypt.log
Some challenges have failed.
Ask for help or search for solutions at 
https://community.letsencrypt.org/. See the logfile /tmp/letsencrypt- 
log/letsencrypt.log or re-run Certbot with -v for more details.

at /app/lib/utils.js:16:13
at ChildProcess.exithandler (node:child_process:430:5)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)

The domain I chose is <my_subdomain>.privatedns.org.

Does anyone know how I can get Nginx to succeed in generating the ssl certificate so I don't have to start deploying ssl generation myself?

If I have to do it myself any useful resources will be appreciated.

Thanks :)

[–] basic_user@lemmy.world 1 points 2 weeks ago

I did the same. Not because I knew, but because I was unsure if permissions would fail if I didn't.

[–] basic_user@lemmy.world 1 points 2 weeks ago

Do I just enter the container shell and check GID and UID of a random file?

[–] basic_user@lemmy.world 1 points 2 weeks ago (1 children)

I'm CURSED I tells ya! I'll look at the logs tomorrow. Good to know that you can get it working. Maybe I'm close then.

[–] basic_user@lemmy.world 1 points 2 weeks ago

Do I need to enter the container bash and change something then? I tried adding UID and GID to the docker compose file, but it still fails. I updated the google docs notes if you want to see my steps.

[–] basic_user@lemmy.world 1 points 2 weeks ago (3 children)

Thanks for the suggestion. I tried and it still doesn't work. I updated the google docs notes with my steps if you want to see what I did.

[–] basic_user@lemmy.world 1 points 2 weeks ago (3 children)

How do I tell? In the docker-compose.yml file I put the user and password for my server user. I thought that was going to make it work?

14
submitted 2 weeks ago* (last edited 1 week ago) by basic_user@lemmy.world to c/selfhosted@lemmy.world
 

Hi, I made this post a few days ago: https://lemmy.world/post/27391713 And I've been trying a lot of stuff and it doesn't work and it's driving me nuts. Now I tried again from the bottom and wrote down everything. You can see my notes here: https://docs.google.com/document/d/1vPplJhjZ13j1A2mEzHGS1B_sPSThE3LHxnGW82_F6Is/edit?usp=sharing Can anyone tell me why I keep banging my head against a wall here? Thanks :)

Update: It worked all along. All I needed to do was restart my windows machine and the errors would go away and I could enter the share. Good times.

[–] basic_user@lemmy.world 0 points 2 weeks ago (1 children)

I did fiddle with it. I tried putting my server user and password in there, but didn't get it working.

[–] basic_user@lemmy.world 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Well, I'm not trying to share from within the docker container. I just want to run the samba service from a container. The share is an external hard drive connected to the server. I want to be able to move files to and from the ext hdd from a windows machine.

9
submitted 2 weeks ago* (last edited 2 weeks ago) by basic_user@lemmy.world to c/selfhosted@lemmy.world
 

Hi, I've tried running samba from docker compose on ubuntu server with this resource https://hub.docker.com/r/dockurr/samba I changed the default volume from "- ./samba:/storage" to "- /mnt/my_ext_hdd/my_dir/my_subdir" The container deploys fine, but I get permission error when trying to access the shared volume from windows? Anyone with some suggestionshoew to fix? Thanks

[–] basic_user@lemmy.world 1 points 3 weeks ago

I would prefer that it's only accessible for users I approve through some sort of whitelist. That would be friends and family.

 

Hi, I got a small server as a for-fun-project and I really enjoy having it. With all the stuff going on in the world I would like to self host more things, but I'm pretty new to the scene. So far it's just an old desktop with Ubuntu server os acting as media server. I would like to add some sort of lightweight and preferably open source file share akin to Google Drive with the ability to save/upload, view and edit files on the server from the outside internet. I'd also like a shared calendar that can also be accessed from the internet. Do you have any good recommendations this? Thanks

[–] basic_user@lemmy.world 26 points 1 month ago (1 children)
[–] basic_user@lemmy.world 34 points 1 month ago (3 children)

Get off to what? Everything else is chromium based. Or do you have a tip?

 

Hi,

When launching Suyu Switch emulator it complains that encryption keys are missing, but before I have a chance to add them the app closes.

This happens for me on both 0.0.2 and 0.0.3.

Does anyone know how to fix?

Thanks

[–] basic_user@lemmy.world 8 points 1 month ago

Jeg har købt to controllere og lavet en gammel pc om til en retro gaming station til ungerne. Et hit indtil videre. Dog clasher det lidt med ønsket om at de skal bruge mindre tid foran skærmen - oh well...

 

I had this idea, and it's probably dumb, but hear me out and let me know what you think.

I really like movies. Streaming services are currently the best legal option to watch movies afaik, but often they don't have that specific and maybe also old movie I want to watch - even with 3 different streaming services. Then I could rent it, but paying like 8 bucks every time I want to watch a movie is too much.

If I could buy and download a free (free as in no drm or other bullshit shenanigans) digital copy of a movie for a reasonable price I would be all over that shit.

But as we all know the greedy capitalists can't keep milking the same old cashcows if the users have a permanent copy that they can potentially also distribute so that won't happen any time soon.

So my idea was what is we as a public group (movie enthusiasts) joined and made a company funded by something like gofundme or similar. The sole purpose of the company would be to buy rights to movies and hosting digital copies free to download for anyone.

Wouldn't that be something. Legal digital movies by the public for the public.

view more: next ›