Upgrade to Forky and NC 33.0.x#1
Conversation
|
Thanks for contributing @reetp! It's always great to see other working on or using code that you've made 😄 First, I would advise against using Forky for this image, since Forky is still Debian testing. For this container I prefer to use stable versions, so Trixie would make more sense to me. However, I do recognize that Trixie currently provides Besides that, there are a few other problems I've noticed, or things I would personally do differently: (docker-entrypoint.sh) Do not replace I would also avoid hardcoding Adding an The Because of the above, I do not think I can merge this as-is. I do appreciate the contribution though! |
Thanks for the scripts!
I have updated various files if you are interested :-) Zero guarantee that my code is 100% trustworthy!
Some notes:
Use Forky
Use NC 33.0.x client
Use .env
Add a few tools for building, and in the container
Add language support to handle odd filenames eg Product©.jpg etc
Add localtime support
Update .netrc format
Add some extra config settings
Add full path names to save issues
Add multiple sync paths
Add a 'if running then wait' check
I just use this to build and deploy:
Issues:
Logs still an issue - set 50Mb but they don't seem to update/rotate.
I had some issues with big directories and the client appearing to exit at this rather than loop:
/usr/bin/su - nextcloudclient -c "nextcloudcmdIt then restarts from the entry point - I presume that is because there were errors rather than warnings so it exits with 1 instead of 0 and exits the loop.
I need to try and trace this to see if it can be avoided.
I've done this as a big blob - you may want to break it down a bit. I'll leave it with you.
Thanks again for the inspiration.