-
-
Notifications
You must be signed in to change notification settings - Fork 236
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] Nextcloud-ocr.sh gets deleted on startup #1682
Comments
Ok, I managed to discover that the file has been migrated to /addon_configs/, so I tried editing the script to copy itself from there to the scripts directory as in the original example, but that fails as well:
If I understand correctly, the idea here is if occ is not found copy myself into the scripts directory, otherwise run my contents. So I'm unable to update the contents of the file copied during the container start as it's unable to see the file that's running? |
I managed fixing it by using:
In any case the readme has to be fixed |
Thanks! I'll have a look |
That's actually because HA changed how it handles config mapping. In the current situation, the nextcloud-ocr.sh file is located in However, it should have still executed - I haven't looked at this code in a long time I'll try to find something more resilient |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Description
Whenever starting up I get a message that the auto script cannot be run. I thought it was a fluke, but then when recreating it, I saw it was deleted by the addon.
Reproduction steps
1. create auto script file 2. Restart the addon 3. Auto script has been deleted and addon does not run it 4. See error in logs
Addon Logs
Architecture
No response
OS
HAos
The text was updated successfully, but these errors were encountered: