GithubHelp home page GithubHelp logo

docker-owncloud-client's People

Contributors

nitomartinez avatar toughiq avatar

Stargazers

 avatar

Watchers

 avatar  avatar

docker-owncloud-client's Issues

Client appears to create 117 sessions per hour

Hi,

Upon checking the active sesions in the Sessions tab on my instance, i notice the following client which appears 117 times per hour:
"Mozilla/5.0 (Linux) mirall/2.4.1 (build 9083)"

This only fits with a Docker container im running with this image. I would assume one session should be enough?

The docker container has not been restarting either.

I just changed RUN_INTERVAL to 3600, but i would say that it should be unnecessary?

When specifying a port in OC_SERVER the occmd does not authenticate

When using a server like:

OC_SERVER=owncloud.myserver.com:8443

the docker does not authenticate, with this error

!!! OCC::LsColJob created for "https://owncloud.myserver.com/owncloud" + "" "OCC::DiscoverySingleDirectoryJob" 
Stop request: Authentication failed for  "https://owncloud.myservercom:8443/owncloud/remote.php/webdav/" 

Investigating a bit further this seems to be due to how the .netrc file is created.

This seems to work

machine owncloud.myserver.com
        login username
        password mypassword

but this not:

machine owncloud.myserver.com:8443
        login username
        password mypassword

No log-entries with docker logs -f <YourContainerID>

Hi,

It seems that there are no log entires of the owncloud-client when I want to view them with docker logs -f
In my case, is: docker logs -f docker-owncloud-client_1

This is my docker-compose.yml file:

version: "3.7"
services:
occlient_fraunhofer_iis:
image: toughiq/owncloud-client
restart: unless-stopped
volumes:
- ${PWD}/mydata :/ocdata
environment:
- OC_USER=*****
- OC_PASS=****
- OC_PROTO=https
- OC_SERVER=****
- OC_URLPATH=/
- OC_WEBDAV=remote.php/webdav
- OC_FILEPATH=/
- TRUST_SELFSIGN=0
- SYNC_HIDDEN=0
- SILENCE_OUTPUT=0
- RUN_INTERVAL=30
- RUN_UID=1000

And this my Docker-file (I had to adjust to an Ubuntu base image, because Debian was not working):

FROM ubuntu:20.04
MAINTAINER toughIQ [email protected]

RUN apt-get update
&& apt-get install -y wget curl gpg
&& apt-get clean
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
&& rm -rf /usr/share/doc /usr/share/man /usr/share/locale /usr/share/info /usr/share/lintian

RUN echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_20.04/ /' | tee /etc/apt/sources.list.d/isv:ownCloud:desktop.list
&& curl -fsSL https://download.opensuse.org/repositories/isv:ownCloud:desktop/Ubuntu_20.04/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/isv:ownCloud:desktop.gpg > /dev/null
&& apt-get update
&& apt-get install -y owncloud-client
&& apt-get clean
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
&& rm -rf /usr/share/doc /usr/share/man /usr/share/locale /usr/share/info /usr/share/lintian

COPY *.sh /
WORKDIR /ocdata

ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["/run.sh"]

ENV OC_USER=oc_username
OC_PASS=oc_passwordORtoken
OC_PROTO=https
OC_SERVER=yourserver.com
OC_URLPATH=/
OC_WEBDAV=remote.php/webdav
OC_FILEPATH=/
TRUST_SELFSIGN=0
SYNC_HIDDEN=0
SILENCE_OUTPUT=1
RUN_INTERVAL=30
RUN_UID=1000

Do I need to set additional environment variables?

Thank you for your help.

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.