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 3 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 3 weeks ago

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

[–] basic_user@lemmy.world 1 points 3 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 3 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 3 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 3 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 3 weeks ago* (last edited 2 weeks 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 3 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 3 weeks ago* (last edited 3 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 3 weeks ago* (last edited 3 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 1 month 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