Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A guide on how to use the Remote Pull #465

Open
felipecrs opened this issue May 8, 2023 · 10 comments
Open

A guide on how to use the Remote Pull #465

felipecrs opened this issue May 8, 2023 · 10 comments

Comments

@felipecrs
Copy link
Contributor

I'm trying to use the Remote Pull to download updates to my NSPs, but it simply does not work.

Is there a chance we can have some video or some comprehensive instructions on how to use it?

@shoyrock
Copy link

I tested it on macOS and Windows but no lock, hope a fix is added sometime soon

@blawar
Copy link
Owner

blawar commented Jun 17, 2023

It definitely works, the tinfoil metadata server uses it for pulling in new content to extract metadata from. Can you post more detailed information about what you are trying?

@shoyrock
Copy link

shoyrock commented Jun 19, 2023

this is what I got when I tried using the pull option
Screenshot 2023-06-18 202349
Screenshot 2023-06-18 202625

@blawar
Copy link
Owner

blawar commented Jun 19, 2023

I have only used pull with ftp and local file system (mounted gdrive). Try mounting your gdrive to the local file system using rclone or google file stream, then configuring NUT to pull from the local path.

@felipecrs
Copy link
Contributor Author

I was expecting I could use a remote pull server like pixelshop (https://github.com/carcaschoi/tinfoil-json) to download updates for my NSPs from within NUT.

Is my expectation correct?

@shoyrock
Copy link

I was expecting I could use a remote pull server like Pixelshop (https://github.com/carcaschoi/tinfoil-json) to download updates for my NSPs from within NUT.

Is my expectation correct?

this is what I really wanted but I didn't see any way to get that done that's why I moved to pull from gdrive

@shoyrock
Copy link

I have only used pull with ftp and local file system (mounted gdrive). Try mounting your gdrive to the local file system using rclone or google file stream, then configuring NUT to pull from the local path.

image
image

seem to work, I don't think that I would be able to use this option with the docker version of nut

@felipecrs
Copy link
Contributor Author

seem to work

By simply clicking "Setup GDrive OAuth"? I wonder where does it pull assets from :)

I don't think that I would be able to use this option with the docker version of nut

@shoyrock
Copy link

seem to work

By simply clicking "Setup GDrive OAuth"? I wonder where does it pull assets from :)

I don't think that I would be able to use this option with the docker version of nut

I'm using Nut via Unraid if this would work. ill be trying to mount Gdrive if that works then maybe, but still not a good fix

@andrea-ap
Copy link

andrea-ap commented Jun 25, 2023

i try setup gdrive OAuth , I followed the guide, created credentials, downloaded and hooked credentials.json file without errors, but when I go to remote pull paths and add gdrive , I get this error in Nut:
WARNING:googleapiclient.discovery_cache:file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in
from oauth2client.contrib.locked_file import LockedFile
ModuleNotFoundError: No module named 'oauth2client'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in
from oauth2client.locked_file import LockedFile
ModuleNotFoundError: No module named 'oauth2client'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/googleapiclient/discovery_cache/init.py", line 44, in autodetect
from . import file_cache
File "/usr/local/lib/python3.9/site-packages/googleapiclient/discovery_cache/file_cache.py", line 40, in
raise ImportError(
ImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth
error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants