Unable to Sync LongBridge Data

Hi Evan,

Today I tried to sync LongBridge data by running the autosync.sh and clicked on the “Sync LongBridge Data” button, but I got the following error message:

Error occurred: [Errno 16] Device or resource busy: '/app/.tmp_1hc5lb1k' -> '/app/.env'

I don’t see any other information in the console.

Hi there,

Have you succeeded previously or is it your first try?

If first try, can try to start from step 3 again of this page but try another folder? → https://github.com/StocksCafe/longbridge?tab=readme-ov-file

Thanks,
Evan

Hi Evan,

Previously I was able to sync the data many times. But suddenly this week, I was not able to sync again.

Just now, I started from scratch again did the First Run, but I encountered an error when I was saving the config in Step 8:

An error occurred while saving settings: [Errno 16] Device or resource busy: '/app/.tmp_ucdmdf_h' -> '/app/.env'

Hi there,

Thank you for reporting. I found the issue and have fixed it.

Please update one line inside “autosync.sh”.

Change line 15 to this “docker run -d --env-file .env --name autosync -p 8000:8000 autosync”

Cheers,
Evan