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

Nextcloud #8

Open
Djeremaille opened this issue Aug 26, 2019 · 6 comments
Open

Nextcloud #8

Djeremaille opened this issue Aug 26, 2019 · 6 comments

Comments

@Djeremaille
Copy link

Hi.
I am trying to mount a personal nextcloud .

With the automated way ( rclone configure ) it seems that I have a certificate problem.
In manual mode I added --no-check-certificate and it's working but I can only see my files from terminal with root. Others apps (mixplorer) can't see them.

I tried to create a .remote.param file but I can't find the correct syntax to add --no-check-certificate.

@TonyRL
Copy link

TonyRL commented Aug 26, 2019

https://rclone.org/commands/rclone_mount/

--allow-other Allow access to other users.

@Djeremaille
Copy link
Author

I done that with --allow-other

su
rclone mount remote:/   /sdcard/mnt --no-check-certificate --allow-other --vfs-cache-mode minimal

From another terminal as normal user I can access it but this is empty in Mixplorer or Fx File Explorer.

Once I entered the command from inside Mixplorer and that worked. But just once.

For the moment my nextcloud is offline so I can't try anything else.

@Geofferey
Copy link
Contributor

Create .remote.param containing ....

BINDSD=1
SDBINDPOINT=mnt/remote
ADD_PARAMS=--no-check-certificate

Are you using this module from Magisk? Did you read the README?

@Djeremaille
Copy link
Author

Hi!
Thanks!
I just made that before I read your answer and it's working. I have seen the README.MD on github which is not complete and I discovered the readme in magisk which is a lot more.
Now I can browse my folders from my Music App (Omnia) but I can only scan one folder at a time.

The log file is full of:
2019/09/03 08:28:39 Unsolicited response received on idle HTTP channel starting with "\x96x\x.............\xb4"; err=`

There is 48 lines of 10700 characters!!!
Here is my param file:

BUFFERSIZE=8M
CACHEMAXSIZE=256M
DIRCACHETIME=24h
READAHEAD=128k
CACHEMODE=writes
CACHE=/data/rclone/cache
CACHE_BACKEND=/data/rclone/cache-backend
ADD_PARAMS=--no-check-certificate --allow-other --fast-list --allow-non-empty
BINDSD=1
SDBINDPOINT=mnt

@Djeremaille
Copy link
Author

Maybe webdav is not ideal to scan remote folders and stream music from my music app.
I will try FTP.
Maybe someone know a better way?

@Djeremaille
Copy link
Author

Also, the command "rclone-mount mount" doesn't work. Instead I must do "rclone mount".

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

3 participants