In this post we’ll look at How to Install FileCloud on OMV and Docker.
“FileCloud is the leading, self-hosted file sharing, sync and mobile access for Businesses.”
Original info can be found here.
Before you get too into this, you may want to know why I can’t recommend FileCloud. Here’s a video I made about why I can’t recommend FileCloud.
Installing FileCloud is pretty straightforward. When looking at the original information given to us on hub.docker.com, we’ll see that they give us an SSH script to run:
sudo docker run --detach -p 443:443 -p 80:80 --name --restart always --volume /data/db:/var/lib/mongodb --volume /data/files:/cloudstorage --volume /data/solr:/opt/solr-5.3.1/server/solr/fccore filecloud/fileclouddocker
While this will work, we want to set it up in a Portainer Stack, so let’s take a look at that:
--- version: "2" services: filecloud: image: filecloud/fileclouddocker container_name: filecloud labels: - traefik.enable=true - traefik.http.routers.filecloud.rule=Host(`mycloud.dbtechdemo.com`) - traefik.http.routers.filecloud.entrypoints=web - traefik.http.services.filecloud.loadbalancer.server.port=80 networks: - web volumes: - /data/db:/var/lib/mongodb - /data/solr:/opt/solr-5.3.1/server/solr/fccore - /srv/dev-disk-by-label-Files/FileCloud:/cloudstorage restart: unless-stopped
Now, you’ll notice that there are some additional lines in the Stack that weren’t in the original command. That’s because we’re going to set this up on Traefik and I’ve added some additional lines in there to facilitate that.
If you’re not familiar with Traefik, be sure to check out this tutorial before moving forward with this one.
You’ll need to change the URL in the labels section to reflect the URL that you’ve setup for this to work. You’ll also need to change the 3rd volume to be the absolute path of the folder you setup on your server for FileCloud.
Now that you’ve got all that done, you can click the “Deploy the Container” button and give it several minutes to deploy.
You may need to go in and edit the settings after the container deploys in order to get it on the “web” network.
Once you’ve got all that, you should be able to go to your FileCloud Admin URL and access everything.
The admin URL will look like this: https://mycloud.dbtechdemo.com/ui/admin/index.html
The front-end URL will look like this: https://mycloud.dbtechdemo.com/ui/core/index.html
Be sure to upload your license to get things going in the backend. Also make sure you do things like setup the Server URL, admin Email, and those sorts of things per the pop ups in the admin area when you login there. They will keep popping up until you get everything fixed.
To remove the install folder, you’ll need to open PuTTY and login as root. Then type in this command:
find / -type d -name install
The results should look like this:
You’ll want to look for the 2 lines that are almost the same. The only difference is that one will have “diff” and the other will have “merged”. We’re going to look at the one with “merged” in it. What you’ll want to do is navigate to the html folder, so type in the following:
(replace the string of character string after “overlay2” to reflect that on your server)
Then you can remove the install folder in there by typing:
rm -rf install
That’s it. You should now be able to install and setup the mobile and desktop apps and configure them to talk to your new FileCloud server.
Other OpenMediaVault Tutorials
If you’re interested in other tutorials for your home server, check here: https://dbtechreviews.com/category/openmediavault/
Like what I do? Want to be generous and help support my channel?
Here are some ways to support:
Remember to leave a like on this video and subscribe if you want to see more!