I-am-PUID-0 / DMB

Debrid Media Bridge
MIT License
123 stars 9 forks source link

Unable to save settings. API is down. #52

Closed 03184 closed 1 month ago

03184 commented 2 months ago

build 0.12 Docker on Ubuntu 22 VPS

container builds with no initial errors and can access front end however when trying to add Jacket and Torrentio scrapers the error in the title comes up.

spants commented 2 months ago

same issue, any saves to settings on Riven will generate an error:

Sep 21, 2024 10:57:36 - ERROR - rivenbackend subprocess: | manager.load - JSON Schema validation error: PosixPath('/data/DMB/all') is not of type 'string'

I had deleted and recreated my settings file for the new version. I use DMB on unraid.

When I make changes in the ui, I get a notification "Unable to save settings. API is down."

In the logs: Sep 21, 2024 11:02:56 - INFO - rivenbackend subprocess: raise error Sep 21, 2024 11:02:56 - INFO - rivenbackend subprocess: jsonschema.exceptions.ValidationError: PosixPath('/data/DMB/_all') is not of type 'string' Sep 21, 2024 11:02:56 - INFO - riven_backend subprocess: Failed validating 'type' in schema['properties']['symlink']['properties']['rclone_path']: Sep 21, 2024 11:02:56 - INFO - riven_backend subprocess: {'default': '.', Sep 21, 2024 11:02:56 - INFO - riven_backend subprocess: 'format': 'path', Sep 21, 2024 11:02:56 - INFO - riven_backend subprocess: 'title': 'Rclone Path', Sep 21, 2024 11:02:56 - INFO - riven_backend subprocess: 'type': 'string'} Sep 21, 2024 11:02:56 - INFO - riven_backend subprocess: On instance['symlink']['rclone_path']: Sep 21, 2024 11:02:56 - INFO - riven_backend subprocess: PosixPath('/data/DMB/__all')

this is interesting: I manually changed the path to /data/DMB/testing but still generates the error PosixPath('/data/DMB/all') is not of type 'string': image

karanf commented 2 months ago

Not sure if this will work, but I was encountering Internal Server Errors when trying to change any scraper settings. I realised that the backend is being loaded at 127.0.0.1 instead of the address of my NAS. Changed the "RIVEN_BACKEND_URL" to point to the correct address and everything worked fine.

I-am-PUID-0 commented 1 month ago

Has this been resolved with the latest release of Riven backend?

spants commented 1 month ago

All working for me, thanks!

I-am-PUID-0 commented 1 month ago

Ok. I'll close this issue then.