Need help with filecloud via docker - plenty of questions

This post was flagged by the community and is temporarily hidden.

How can this possibly work? The mongodb is definitely in another container !?

How am I supposed to remove the installation folder if I can’t mount it into a folder?

image

I thought filecloud stored files on the filesystem by default without touching them after reading this page: https://www.getfilecloud.com/supportdocs/display/cloud/About+FileCloud+Server+for+Administrators - or this this better explained somewhere else?

but at a second glance it looks like it chunks all uploaded files so they are no longer directly accessible, kinda like git?

ls -al /my/localpath/filecloud/data/5f215cd200c4b302193645/5f215cd233f43613347894/
total 13114
drwxr-xr-x 2 www-data www-data      28 Jul 29 13:27 .
drwxr-xr-x 3 www-data www-data       3 Jul 29 13:26 ..
-rw-r--r-- 1 www-data www-data  199123 Jul 29 13:26 5f215cd2005c8873624772.dat
-rw-r--r-- 1 www-data www-data  220232 Jul 29 13:26 5f215cd2691cd788745240.dat
-rw-r--r-- 1 www-data www-data  237128 Jul 29 13:26 5f215cd299a2d506871021.dat
-rw-r--r-- 1 www-data www-data  235783 Jul 29 13:26 5f215cd2cc768408436548.dat
-rw-r--r-- 1 www-data www-data  177310 Jul 29 13:26 5f215cd306b14506013185.dat
-rw-r--r-- 1 www-data www-data  195710 Jul 29 13:26 5f215cd337fb5025772949.dat
-rw-r--r-- 1 www-data www-data  248865 Jul 29 13:26 5f215cd36a1f9752772873.dat
-rw-r--r-- 1 www-data www-data  244675 Jul 29 13:26 5f215cd3a0142726040013.dat
-rw-r--r-- 1 www-data www-data  261955 Jul 29 13:26 5f215cd3d9f34696172054.dat
-rw-r--r-- 1 www-data www-data  270010 Jul 29 13:26 5f215cd41ea32921129692.dat
-rw-r--r-- 1 www-data www-data  292079 Jul 29 13:26 5f215cd45ade4009597884.dat
-rw-r--r-- 1 www-data www-data  208425 Jul 29 13:26 5f215cd48b866271922655.dat
-rw-r--r-- 1 www-data www-data  289911 Jul 29 13:26 5f215cd4c622b398451538.dat
-rw-r--r-- 1 www-data www-data  302154 Jul 29 13:26 5f215cd509391429735433.dat
-rw-r--r-- 1 www-data www-data  312795 Jul 29 13:26 5f215cd53e271270260191.dat
-rw-r--r-- 1 www-data www-data  293896 Jul 29 13:26 5f215cd5778d8609479243.dat
-rw-r--r-- 1 www-data www-data  316210 Jul 29 13:26 5f215cd5b10c4016773758.dat
-rw-r--r-- 1 www-data www-data  318599 Jul 29 13:26 5f215cd5ebcc0214917396.dat
-rw-r--r-- 1 www-data www-data  364803 Jul 29 13:26 5f215cd69e418928156879.dat
-rw-r--r-- 1 www-data www-data  288772 Jul 29 13:26 5f215cd6e378b749459383.dat
-rw-r--r-- 1 www-data www-data  224654 Jul 29 13:26 5f215cd72319c208470611.dat
-rw-r--r-- 1 www-data www-data     830 Jul 29 13:26 5f215ce2a3718410132467.dat
-rw-r--r-- 1 www-data www-data    1343 Jul 29 13:26 5f215ce2c1307432762458.dat
-rw-r--r-- 1 www-data www-data 3108616 Jul 29 13:26 5f215ceea2d31555327436.dat
-rw-r--r-- 1 www-data www-data 2177870 Jul 29 13:26 5f215cef0907f842071655.dat
-rw-r--r-- 1 www-data www-data 2177870 Jul 29 13:27 5f215d212a04d552059469.dat

Am I even following the right instructions?

I found different ones here: h t t ps://www.getfilecloud.com/filecloud-docker-image/ which lead to h t t ps://hub.docker.com/r/filecloud/fileclouddocker/ which seems like a different docker image and differing instructions…

@Ovidiu

Thanks for choosing FileCloud.

Why did you hard-code the container names?

Container names are hardcoded for the internal communication between containers and for ease of the deployment for the customers right out of the box.

Filecloud stores files in a specific format and that it can be viewed only via FileCloud Apps or browser.

Thanks for taking the time to reply and try to clarify. The first and most important post in this thread is still marked as SPAM which is probably why you didn’t address any of those questions about volumes mounting into the docker container.

The questions still open:

  • how to remove the install folder as per the popup warning (see screenshot above)
  • why can I not modify the mongodb settings and why do they point to localhost when clearly its running in a separate container
  • the problem mounting a local folder as a volume into the filecloud container and the permission problems shown in the logs I psoted

@Ovidiu

how to remove the install folder as per the popup warning (see screenshot above)

docker exec -it filecloud.server bash

rm -rf /var/www/html/install

why can I not modify the mongodb settings and why do they point to localhost when clearly its running in a separate container

That settings comes from the configuration. We route the traffic from filecloud.server container to filecloud.mongodb
If you want to change those names. You have to edit the localhost entry of database in cloudconfig.php and localstorage.php in /var/www/html/config/

the problem mounting a local folder as a volume into the filecloud container and the permission problems shown in the logs I psoted

We extract Filecloud codes to that path. If we host mount it may not work if there is any permission issue. That’s why we kept it as named volume.

1 Like