kelinger / OmniStream

Deployment and management tools for an entire streaming platform that can reside on a server (local, remote, hosted, VPS) with media files stored on cloud services like Google Drive or Dropbox.
MIT License
31 stars 9 forks source link

rclone drive won't mount after running out of local space even when space made available. #22

Closed wickedshrapnel closed 1 year ago

wickedshrapnel commented 1 year ago

Hello, First I want to say I love this tool. Made setting everything up very easy. Everything was running great until I downloaded more than it could upload to the Gdrive in time and ran out of local space. I deleted a nzbget intermediate folder to make about 8GB of space. Rebooted and things were still not working. Looking at the logs I see this.

One or more critical environment variables left undefined. omnimount | rclone v1.59.2 omnimount | - os/version: debian 11.5 (64 bit) omnimount | - os/kernel: 4.19.0-22-amd64 (x86_64) omnimount | - os/type: linux omnimount | - os/arch: amd64 omnimount | - go/version: go1.18.6 omnimount | - go/linking: static omnimount | - go/tags: none omnimount | omnimount | mergerfs version: 2.33.5 omnimount | omnimount | Starting vnstat omnimount | basename: missing operand omnimount | Try 'basename --help' for more information. omnimount | omnimount | Configuration: omnimount | MERGEMOUNT=cloud

omnimount | RCLONESERVICE=

omnimount | RCLONEMOUNT=

omnimount | UNSYNCED=unsynced omnimount | UPLOADCACHE=uploadcache omnimount | MEDIA=Media omnimount | TURBOMAX=20 omnimount | One or more critical environment variables left undefined. omnimount | rclone v1.59.2 omnimount | - os/version: debian 11.5 (64 bit) omnimount | - os/kernel: 4.19.0-22-amd64 (x86_64) omnimount | - os/type: linux omnimount | - os/arch: amd64 omnimount | - go/version: go1.18.6 omnimount | - go/linking: static omnimount | - go/tags: none

Looks like it is missing the values for the variables I don't know what they should be in non variable format. I am guessing RCLONESERVICE would be drive and the rclone mount would be something like remote_crypt: /Media but I am not willing to just try that without confirmation.

I know it is looking at variables in the omnimount.yaml and they are not getting defined for some reason. I did try running the rclone config again, that didn't work. The rclone config looks fine.

Any ideas on how to get it to mount again and how to prevent it from filling up the local drive again. I would rather it just said it was out of space and stop current downloads and wait for it to offload to gdrive to continue.

omnimount: image: kelinger/omnimount:latest container_name: omnimount hostname: omnimount restart: unless-stopped environment:

wickedshrapnel commented 1 year ago

Well that one seemed to fix itself. I rebooted a couple times and issue remained but when I ran omni down then shutdown the server for a few minutes then booted back up waited a few minutes and then ran omni up the omnimount container ran successfully and mounted the drive. Everything is running in the background now I can see things working in omni stats but all the websites are getting 404 page not found now. I'll just let it run for a while and see if this fixes itself too. Probably something in Traefik config messed up. I am using Google oAuth too that one took a while to figure out how to turn basic Auth off. Just type cred.. EZPZ if it was documented anywhere.. lol