I went do some configuring today and I noticed my /gdrive was not mounted. This is my gcrypt: mount. Trying to mount manually from CLI, I get the following error which is also the error in my rclone log.
2018/10/24 03:58:25 Fatal error: Can not open: /gdrive: open /gdrive: transport endpoint is not connected
I was looking at various forum posts, but not sure where to start. It could be that I need to get some sleep!
hi @Animosity022 can you explain step by step how you configured caddy after the installation? Where you put the caddyfile? have you to register to cloudflare?
I don’t use cloudflare for anything other than DNS currently as I found that (for me) going through them slowed things down a little as I have great peering and folks are near me anyway.
I have my actual caddyfile on github along with the systemd start script so other than that, I put it into my /opt/caddy:
felix@gemini:/opt/caddy$ ls -al
total 21396
drwxrwxr-x 4 felix felix 4096 Oct 17 13:59 .
drwxrwxr-x 27 felix felix 4096 Oct 17 13:26 ..
-rwxr-xr-x 1 felix felix 21885856 Sep 2 01:57 caddy
-rw-rw-r-- 1 felix felix 1993 Oct 17 13:50 Caddyfile
drwxrwxr-x 2 felix felix 4096 Oct 21 20:43 logs
drwxrwxr-x 4 felix felix 4096 Aug 31 20:32 ssl
and start it up. It does all the SSL stuff automatically and the config file could not be any easier. It just works without doing any extra stuff or having tons of lines of nginx config.
If you are getting any specific issue/error, let me know and I can help out.
It’s already there. I tried to rm -rf /gdrive and recreate it, but I cannot even do that. Also notice that the error shows on ls and permissions and ownership is missing.
kfarris@athena:/$ ls -lrt
ls: cannot access ‘gdrive’: Transport endpoint is not connected
d??? ? ? ? ? ? gdrive
drwxrwxr-x 4 kfarris kfarris 4096 Oct 24 03:25 gmedia
EDIT:
Doing fusermount unmount and re-mounting seems to have fixed it. Any idea why it happened in the first place and why restarting the service did not fix it to begin with?
The service file would probably help. But it looks like the rclone mount was active when rclone was killed. This required you to manually unmount it via fusermount
I’m not sure I’m following what you are trying to do then.
You need a DNS name registered so you can get a SSL cert. Caddy does this all for you, which is why I have use it as it handles doing the cert renews and such rather than using certbot.
For plex, I configure it pointing to a URL and not an IP. I’m not sure how you’d secure it with a IP only unless you setup your own cert or something but not sure how that would work with Caddy.
Caddy simplifies the whole cert process so I take advantage of that as you want all your plex communication to be SSL and not clear text.