GithubHelp home page GithubHelp logo

dyonr / docker-owncloud-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from toughiq/docker-owncloud-client

1.0 1.0 3.0 4.51 MB

Dockerized ownCloud CLI Client (owncloudcmd) to sync from any supported ownCloud or Nextcloud-like environment.

Home Page: https://hub.docker.com/r/dyonr/owncloud-client/

License: MIT License

Shell 60.02% Dockerfile 39.98%

docker-owncloud-client's People

Contributors

dyonr avatar nitomartinez avatar toughiq avatar

Stargazers

 avatar

Watchers

 avatar

docker-owncloud-client's Issues

Add env var for "--exclude" and "--unsyncedfolders"

Hi,

thank you very much for your work especially in combination with unraid!
Could you please add env variables for these cmd line options?:

Switch Description
--exclude <file> Path to an exclude list [file]
--unsyncedfolders <file> File containing the list of unsynced remote folders (selective sync)

see https://doc.owncloud.com/desktop/next/advanced_usage/command_line_client.html

Maybe in combination with an additional volume for the two config files.
As fa as I can see currently there is no option to even include a "default" exclude list like:
https://github.com/owncloud/client/blob/master/sync-exclude.lst

Best regards

After Nextcloud 23 Update, container keeps crashing

Hi, after the Nextcloud 23 Update, the Container keeps crashing.
After changing the webDAV path, its still not syncing.

Running Unraid 6.12.10
Docker 24.0.9

2024-05-07 00:20:26.194084 [INFO] A group with PGID 100 already exists in /etc/group, nothing to do.
2024-05-07 00:20:26.208499 [INFO] An user with PUID 99 already exists in /etc/passwd, nothing to do.
2024-05-07 00:20:26.226968 [INFO] Chaning ownership of all files and directories in /ocdata and /opt/ownCloud/log to 99:100
2024-05-07 00:20:28.835147 [INFO] SYNC_HIDDEN is set to 1, setting run parameter '-h'
2024-05-07 00:20:28.848925 [INFO] Running owncloudcmd as following:
2024-05-07 00:20:28.862446 [INFO] owncloudcmd  -h  -n --non-interactive /ocdata https://OC_SERVER/remote.php/dav/files/[Username_in_webDAV]/OC_FILEPATH
2024-05-07 00:20:35.845323 [INFO] A group with PGID 100 already exists in /etc/group, nothing to do.
2024-05-07 00:20:35.861141 [INFO] An user with PUID 99 already exists in /etc/passwd, nothing to do.
2024-05-07 00:20:35.878682 [INFO] Chaning ownership of all files and directories in /ocdata and /opt/ownCloud/log to 99:100
2024-05-07 00:20:38.697288 [INFO] SYNC_HIDDEN is set to 1, setting run parameter '-h'
2024-05-07 00:20:38.711922 [INFO] Running owncloudcmd as following:
2024-05-07 00:20:38.725173 [INFO] owncloudcmd  -h  -n --non-interactive /ocdata https://OC_SERVER/remote.php/dav/files/[Username_in_webDAV]/OC_FILEPATH
2024-05-07 00:20:52.093203 [INFO] A group with PGID 100 already exists in /etc/group, nothing to do.
2024-05-07 00:20:52.108085 [INFO] An user with PUID 99 already exists in /etc/passwd, nothing to do.
2024-05-07 00:20:52.125951 [INFO] Chaning ownership of all files and directories in /ocdata and /opt/ownCloud/log to 99:100
2024-05-07 00:20:54.831624 [INFO] SYNC_HIDDEN is set to 1, setting run parameter '-h'
2024-05-07 00:20:54.845081 [INFO] Running owncloudcmd as following:
2024-05-07 00:20:54.858191 [INFO] owncloudcmd  -h  -n --non-interactive /ocdata https://OC_SERVER/remote.php/dav/files/[Username_in_webDAV]/OC_FILEPATH
2024-05-07 00:21:21.020865 [INFO] A group with PGID 100 already exists in /etc/group, nothing to do.
2024-05-07 00:21:21.035388 [INFO] An user with PUID 99 already exists in /etc/passwd, nothing to do.
2024-05-07 00:21:21.054124 [INFO] Chaning ownership of all files and directories in /ocdata and /opt/ownCloud/log to 99:100
2024-05-07 00:21:23.802804 [INFO] SYNC_HIDDEN is set to 1, setting run parameter '-h'
2024-05-07 00:21:23.817605 [INFO] Running owncloudcmd as following:
2024-05-07 00:21:23.831228 [INFO] owncloudcmd  -h  -n --non-interactive /ocdata https://OC_SERVER/remote.php/dav/files/[Username_in_webDAV]/OC_FILEPATH

Continuously terminates and restarts

Container is set up and syncs normally. However, when it reaches the end of the sync it terminates and restarts the container instead of waiting to re-run owncloud client. This means that my array is in a constant state of "chown"ing the files, then running the sync, then "chown"ing the files again causing my array to fail to idle.

I changed uid to match the uid of the folder owner, and tried setting the sync interval to up to an hour but it seems to ignore this setting entirely.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.