deploy-code-server icon indicating copy to clipboard operation
deploy-code-server copied to clipboard

rclone not auto sync

Open hendrawan98 opened this issue 4 years ago • 2 comments

hi there, i'm just trying deploy to heroku and notice that rclone seems like not auto sync and not displaying push or pull rclone button in editor.

here are 2 way try to reproduce:

  • first:
    • i'm deploy using deploy-code-server via heroku template
    • the value of RCLONE_AUTO_PULL and RCLONE_AUTO_PUSH im not set in heroku variable which by default is true
  • second:
    • deploy using deploy-code-server via heroku template
    • the value of RCLONE_AUTO_PULL and RCLONE_AUTO_PUSH im set in heroku to true

is there any wrong with my reproduce?

hendrawan98 avatar Jul 18 '21 10:07 hendrawan98

Thanks for the detailed instructions. I'll give this a shot ASAP and get a fix underway :)

bpmct avatar Jul 19 '21 14:07 bpmct

I faced the same issue and there is a log when the Heroku dyno boots up: 2021-08-08TXX:XX:XX.XXXXXX+00:00 app[web.1]: cp: cannot stat '/tmp/rclone-tasks.json': No such file or directory

The rclone-tasks.json exists in the docker image but the /tmp folder is being emptied during the boot. Moving the file to another path solved the issue.

peterlamhk avatar Aug 09 '21 00:08 peterlamhk