rmfakecloud icon indicating copy to clipboard operation
rmfakecloud copied to clipboard

localfs not working

Open abehidek opened this issue 1 year ago • 5 comments

First let me thank for this awesome project.

After setting up a docker compose on server and connecting my remarkable 2 device to it manage to properly configure it using the .userprofile file.

However I couldn't managed to get localfs provider working under integrations, after investigating a while, I see that the remarkable device can hit /integrations/v1, but it doesn't show the integration on the menu.

Here's the .userprofile settings:

name: "abehidek"
password: "password"
isadmin: true
integrations:
  - provider: localfs
    id: fdedf078-9d76-4d33-a978-7671e3eba302
    name: hako
    path: /media # points to a volume I mounted on docker container

rmfakecloud version: 0.0.17 remarkable version: 2.15.1.1189

abehidek avatar Mar 13 '24 21:03 abehidek

Have you reviewed the logs to see if it has an error or not?

Eeems avatar Mar 13 '24 22:03 Eeems

Yes, I could not find any error. I tried changing the LOGLEVEL environment var to debug but it shows nothing.

abehidek avatar Mar 14 '24 13:03 abehidek

have you tried hitting /integrations/v1 manually to see what integrations are listed?

Eeems avatar Mar 14 '24 18:03 Eeems

It says I should pass an Auth header, which endpoint should I hit to obtain it?

abehidek avatar Mar 15 '24 13:03 abehidek

You can grab the token from your rM's configuration file (/home/root/.config/remarkable/xochitl.conf), as for the format of the header, that I'm not sure, you can probably take a look at https://github.com/juruen/rmapi to see how it's done.

Eeems avatar Mar 15 '24 16:03 Eeems