Every time I run filecloud docker, it builds, but it doesn’t run filelcloud. If there is a script that starts filecloud, its not begin ran once the container begins. I also noticed that in the container its missing the filecloud.service which would be used to start the application, but not there. The container itself doesn’t even give any logs. The only thing I was able to get was this: Failed to enable unit: Unit file filecloud.service does not exist. Any help would be appreciated.
Hello,
Can you provide us with the process and scripts you’re currently using to install FileCloud in your docker container?
version: "3.3"
services:
filecloud:
privileged: true
ports:
- 6443:443
- 6880:80
volumes:
- /volume1/docker/filecloud/fcdata:/opt/fileclouddata
- /volume1/docker/filecloud/dbdata:/var/lib/mongodb
- /volume1/docker/filecloud/solrdata:/opt/solrfcdata/var/solr
- /volume1/docker/filecloud/htmldata:/var/www/html
container_name: FileCloud
image: filecloud/fileclouddocker:latest
command: /lib/systemd/systemd
root@5b9a7d93e195:/usr/bin# filecloudcp -v
sed: can't read /var/www/html/core/manifest.xml: No such file or directory
Copyright (C) 2022 CodeLathe Technologies, Inc.
This is Commercial software.
Enterprise File Sharing, Sync and Mobile Access for Business
Report bugs and tickets to <support@codelathe.com>.
root@5b9a7d93e195:/usr/bin# filecloudcp -c
PHP Warning: require_once(/var/www/html/core/framework/runtime.php): Failed to open stream: No such file or directory in /usr/local/src/checkupgrade.php on line 3
PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/core/framework/runtime.php' (include_path='.:/usr/share/php') in /usr/local/src/checkupgrade.php:3
Stack trace:
#0 {main}
thrown in /usr/local/src/checkupgrade.php on line 3
root@5b9a7d93e195:~# cd /var/www/html
root@5b9a7d93e195:/var/www/html# ls
root@5b9a7d93e195:/var/www/html# ls
root@5b9a7d93e195:/var/www/html#
root@a0b03604b322:/opt/fcwebdrm/var/log# cat webdrm-wss-2024-07-19.log
{"level":"info","message":"WebDRM Server has started","service":"webdrm-wss","timestamp":"2024-07-19T22:41:49.630Z"}
{"level":"info","message":"WebDRM Server heartbeat has started","service":"webdrm-wss","timestamp":"2024-07-19T22:41:49.633Z"}
{"level":"info","message":"WebDRM Server health reporting has started","service":"webdrm-wss","timestamp":"2024-07-19T22:41:49.634Z"}
{"level":"info","message":"WebDRM Server cleaner has started","service":"webdrm-wss","timestamp":"2024-07-19T22:41:49.634Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:42:19.650Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:42:49.678Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:43:19.707Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:43:49.736Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:44:19.765Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:44:49.789Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:45:19.820Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:45:49.833Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:46:19.856Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:46:49.881Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:47:19.912Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:47:49.939Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:48:19.968Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:48:49.997Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:49:20.021Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:49:50.045Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:50:20.069Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:50:50.099Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:51:20.113Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:51:50.142Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:52:20.150Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:52:50.180Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:53:20.210Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:53:50.240Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:54:20.262Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:54:50.292Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:55:20.305Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:55:50.335Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:56:20.343Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:56:50.364Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:57:20.364Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:57:50.393Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:58:20.404Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:58:50.425Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:59:20.448Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T22:59:50.464Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:00:20.488Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:00:50.514Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:01:20.544Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:01:50.549Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:02:20.580Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:02:50.598Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:03:20.621Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:03:50.637Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:04:20.655Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:04:50.673Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:05:20.699Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:05:50.729Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:06:20.751Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:06:50.770Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:07:20.786Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:07:50.804Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:08:20.829Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:08:50.857Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:09:20.885Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:09:50.898Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:10:20.923Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:10:50.953Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:11:20.980Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:11:50.982Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:12:21.002Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:12:51.024Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:13:21.052Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:13:51.078Z"}
{"level":"error","message":"[WebSocketServer] Failed to report health. Error: Failed to mark heartbeat","service":"webdrm-wss","timestamp":"2024-07-19T23:14:21.107Z"}
http://ip/ui/admin/index.html Error 404
and
http://ip/install/index.php Error 404
and
http://ip/ui/core/index.html. Error 500
What I have also noticed that path /var/www/html is never populated unless I uninstall and then reinstall filecloud manually within the docker. But when that happens, the database stops working.
So I decided to install filecloud on a bare metal. One of the paths for the docker “/opt/solrfcdata/var/solr” doesn’t exist or at least not until later. I would be able to find this out, however as I try to login with the admin and password, nothing happens
{"level":"error","message":"Failed to connect to DB tonidopushservicedb using FCPS_DB_DSN. Trying to guess...","service":"fcpushsvc","timestamp":"2024-07-20T05:52:51.275Z"}
Hi
Kindly follow the steps mentioned below and let us know how it goes
Please use this docker-compose file:
version: ‘3.3’
services:
filecloud:
image: filecloud/fileclouddocker:latest
container_name: filecloud_container
privileged: true
ports:
- “443:443”
- “80:80”
volumes: - fcdata:/opt/fileclouddata
- dbdata:/var/lib/mongodb
- solrdata:/opt/solrfcdata/var/solr
- htmldata:/var/www/html
entrypoint: [“/lib/systemd/systemd”]
volumes:
solrdata:
htmldata:
fcdata:
dbdata:
or kindly use the below command
sudo docker run --privileged -d -p 443:443 -p 80:80 -v fcdata:/opt/fileclouddata -v dbdata:/var/lib/mongodb -v solrdata:/opt/solrfcdata/var/solr -v htmldata:/var/www/html --name filecloud_container filecloud/fileclouddocker:latest /lib/systemd/systemd
happy to help
Thanks again for you response, but after trying this docker compose, I find the same issue. Still the only thing that seems to work is uninstalling and reinstalling filecloud
Hi
my pleasure to help you. kindly confirm if you are still experiencing any issues, if yes we are here to help you out
Still having issues with the compose you gave, still had to use the scripts I created to uninstall and then reinstall filecloud in the docker container, before it worked
Still having issues with the compose you gave, still had to use the scripts I created to uninstall and then reinstall filecloud in the docker container, before it worked
Hello @dvalin21
To further troubleshoot the issue you’re seeing could you provide us with the following logs please?
- cloudconfig.php - \var\www\htdocs\config\
- mongodb.conf - \etc\
- .env file - \opt\pushservice\
Once collected, please upload the logs here: FileCloud
Ill get that to you. Ill have to delete the container and start over to give the proper logs. After I run my scripts, everything is uninstalled and then reinstalled on the container so whatever was causing it not to start after the container starts is gone. I will say that the “/lib/systemd/systemd” is not located where its suppose to be. So the entrypoint doesn’t work.