developeranaz / RCLONE-SERVE-INDEX

Heroku Rclone Index Any Remote cloud drives to Index page
154 stars 176 forks source link

BUG: Couldn't serve Onedrive #12

Closed ALLOC20 closed 3 years ago

ALLOC20 commented 3 years ago

I used the button to deploy, but it shows application error. The running log shows that the configuration file cannot be found, but I did pass the parameters as required. I used the console to reconfigure rclone.conf, but it didn’t work. Finally, attach the running log, hoping to help me solve it.

2021-08-21T10:35:36.114234+00:00 app[web.1]: 2021/08/21 10:35:36 ERROR : Error was: 2021-08-21T10:35:36.134951+00:00 app[web.1]: 2021/08/21 10:35:36 NOTICE: Config file "/.rclone.conf" not found - using defaults 2021-08-21T10:35:36.141323+00:00 app[web.1]: 2021/08/21 10:35:36 ERROR : Couldn't find home directory or read HOME or XDG_CONFIG_HOME environment variables. 2021-08-21T10:35:36.141329+00:00 app[web.1]: 2021/08/21 10:35:36 ERROR : Defaulting to storing config in current directory. 2021-08-21T10:35:36.141329+00:00 app[web.1]: 2021/08/21 10:35:36 ERROR : Use --config flag to workaround. 2021-08-21T10:35:36.141329+00:00 app[web.1]: 2021/08/21 10:35:36 ERROR : Error was: 2021-08-21T10:35:36.161389+00:00 app[web.1]: 2021/08/21 10:35:36 NOTICE: Config file "/.rclone.conf" not found - using defaults 2021-08-21T10:35:36.161645+00:00 app[web.1]: 2021/08/21 10:35:36 Failed to create file system for "OneDrive:": didn't find section in config file 2021-08-21T10:35:36.203221+00:00 heroku[web.1]: Process exited with status 1 2021-08-21T10:35:36.306377+00:00 heroku[web.1]: State changed from starting to crashed

developeranaz commented 3 years ago

It's might be problem of your Config Vars of CONFIG_IN_URL or CLOUDNAME in heroku. Could you please send your config hiding your personal credentials

ALLOC20 commented 3 years ago

It's might be problem of your Config Vars of CONFIG_IN_URL or CLOUDNAME in heroku. Could you please send your config hiding your personal credentials

you mean the URL of gist?

developeranaz commented 3 years ago

It's might be problem of your Config Vars of CONFIG_IN_URL or CLOUDNAME in heroku. Could you please send your config hiding your personal credentials

you mean the URL of gist?

Not exactly the gist url, a screenshot of config or something. Try to remove all your credential details and password hashes for your privacy.

ALLOC20 commented 3 years ago

It's might be problem of your Config Vars of CONFIG_IN_URL or CLOUDNAME in heroku. Could you please send your config hiding your personal credentials

you mean the URL of gist?

Not exactly the gist url, a screenshot or something. Try to remove all your credential details and password hashes for your privacy.

cloudname: OneDrive rclone.conf : [OneDrive] type = onedrive token = drive_id = drive_type = business

developeranaz commented 3 years ago

cloudname: OneDrive rclone.conf : [OneDrive] type = onedrive token = drive_id = drive_type = business

You need to add config as a RAW gist format and if you had already done that then, how did you generated your rclone.conf file ?

ALLOC20 commented 3 years ago

cloudname: OneDrive rclone.conf : [OneDrive] type = onedrive token = drive_id = drive_type = business

You need to add config as a RAW gist format and if you had already done that then, how did you generated your rclone.conf file ?

I used the RAW format and conf generated in openwrt(arm64). Do architectural differences cause such problem?

developeranaz commented 3 years ago

i'mm sorry for wasting your time its a bug. i will fix it in next version.

ALLOC20 commented 3 years ago

i'mm sorry for wasting your time its a bug. i will fix it in next version.

Thank you very much for your reply. I'm glad to give feedback and look forward to the next version.

ALLOC20 commented 3 years ago

I put the profile under "/" and changed the name to ".rclone.conf", and now everything is fine

developeranaz commented 3 years ago

I put the profile under "/" and changed the name to ".rclone.conf", and now everything is fine

oh my God! nobody ever told me ,the whole repository is't working ☹️ , Now i am mering my beta private repository.