View Single Post
Old 03-23-2024, 06:22 PM   #29
MontyJ
Addict
MontyJ began at the beginning.
 
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
Smile

Quote:
Originally Posted by mariosipad View Post
@MontyJ

Why change a winning team? I mean, why change you original calibre-web setup that worked?

Then your only (big) problem would be "how to remotely connect to your e-books?"

Can you revert to your old setup that worked? Without docker!

Then you can focus on how to make cloudflare working for your setup.
I've never done this, but I always wanted to try. So this seems to be a good opportunity to dive in (next week).


For you immediate problem with docker:
1 - kill the container
2 - umount the /media path
3 - mount the /mnt path in fsstab. reboot and check if you can go to your e-books following the path /mnt/.....
4 - make a new container and export (-v) to the original /mnt/..... path
5 - put your config files in the config directory and stop and start the container.

What is the situation now if you connect to calibre-web from the LAN?
Well, finally I was able to get local access...yipeeee! I had looked around and saw several negative comments about using Raspbian, so blew it away and installed Ubuntu server. Then I installed docker and loaded the LinuxServer.io image for CW. It took some back and forth stuff on Discord to figure out the proper way to create a container. It wound up being a problem with the way I had to declare my external USB ebook storage device in the container. Anyway, it is now working on a local level, no internet access yet through the cloudflared tunnel.

Yes, the old way worked before I went with T-Mobile Home Internet. But I contacted the folks at NOIP, which was working fine, and they said they had no way to make it work with the double nat and IPV6 of T-Mobile. I didn't contact Pagekite, who has a similar no-port-forwarding approach, but they are in Iceland, and email support takes like forever and begrudging at that. It worked, but only with a ton of technical settings that only a network engineer could love...

Anyway, that's where I am at. I have to reinstall cloudflared on the new ubuntu setup. Then I will know more about what does and doesn't work.

Good to hear from you again It has been about a year since I was here last and got some great assistance from you and other folks to get the RPi setup going with SSL. Cheers!!

Monty

Edit: Your container suggestion might work on a different image of CW, but I had to add a "-v /media/eStorage/eBooks/All-eBooks:/books" setting when creating the container. For some reason, It was the .../books folder that then linked to the contents of the .../All-eBooks folder on the USB SSD drive. That folder probably could be named anything, but I was happy enough to get the dang thing going I didn't want to rock the boat, so to speak. And yes, fstab had to be updated as well. So when I logged into CW, changed the database folder to /books, it could see all the files and that got things going. Also added /opt/appdata in the Ubuntu OS as my config folder for creating the container. This way I can just change/edit the CW config files in Ubuntu w/o having to muck around in the container.

Last edited by MontyJ; 03-23-2024 at 06:37 PM. Reason: More details
MontyJ is offline   Reply With Quote