Report this

What is the reason for this report?

OwnCloud on Fedora 41 Droplet

Posted on July 15, 2025

Hello,

I tried to install OwnCloud on a new droplet running Fedora 41. This tutorial page: https://www.digitalocean.com/community/tutorial-collections/how-to-install-and-configure-owncloud

Doesn’t offer any steps. The steps offered here seemed to work w/o producing any errors. https://tecadmin.net/install-owncloud-on-fedora/

The public IP is below, but the link produces https://143.198.26.153/owncloud

This site can’t be reached 143.198.26.153 refused to connect. Try:

Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED

I added a firewall opening for port 443. http://143.198.26.153/ connects but HTTPS will not.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey Seth!

If you’re running into issues with the manual setup on Fedora, I’d actually recommend using the official OwnCloud Docker setup instead, it’s much cleaner and avoids a lot of distro-specific headaches.

The Docker version is fully maintained and works out of the box. You’ll get OwnCloud, MariaDB, and Redis all running in containers with just one docker-compose up -d.

Here’s the official Docker guide to get you started: 👉 https://doc.owncloud.com/server/next/admin_manual/installation/docker/

You’ll need Docker and Docker Compose installed on your Droplet (Fedora works fine), then run:

mkdir owncloud-docker-server
cd owncloud-docker-server

Then create a .env file:

cat << EOF > .env
OWNCLOUD_VERSION=10.15
OWNCLOUD_DOMAIN=localhost:8080
OWNCLOUD_TRUSTED_DOMAINS=localhost
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin
HTTP_PORT=8080
EOF

Then copy the docker-compose.yml from the docs which as of the time of my checking was:

version: "3"

volumes:
  files:
    driver: local
  mysql:
    driver: local
  redis:
    driver: local

services:
  owncloud:
    image: owncloud/server:${OWNCLOUD_VERSION}
    container_name: owncloud_server
    restart: always
    ports:
      - ${HTTP_PORT}:8080
    depends_on:
      - mariadb
      - redis
    environment:
      - OWNCLOUD_DOMAIN=${OWNCLOUD_DOMAIN}
      - OWNCLOUD_TRUSTED_DOMAINS=${OWNCLOUD_TRUSTED_DOMAINS}
      - OWNCLOUD_DB_TYPE=mysql
      - OWNCLOUD_DB_NAME=owncloud
      - OWNCLOUD_DB_USERNAME=owncloud
      - OWNCLOUD_DB_PASSWORD=owncloud
      - OWNCLOUD_DB_HOST=mariadb
      - OWNCLOUD_ADMIN_USERNAME=${ADMIN_USERNAME}
      - OWNCLOUD_ADMIN_PASSWORD=${ADMIN_PASSWORD}
      - OWNCLOUD_MYSQL_UTF8MB4=true
      - OWNCLOUD_REDIS_ENABLED=true
      - OWNCLOUD_REDIS_HOST=redis
    healthcheck:
      test: ["CMD", "/usr/bin/healthcheck"]
      interval: 30s
      timeout: 10s
      retries: 5
    volumes:
      - files:/mnt/data

  mariadb:
    image: mariadb:10.11 # minimum required ownCloud version is 10.9
    container_name: owncloud_mariadb
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=owncloud
      - MYSQL_USER=owncloud
      - MYSQL_PASSWORD=owncloud
      - MYSQL_DATABASE=owncloud
      - MARIADB_AUTO_UPGRADE=1
    command: ["--max-allowed-packet=128M", "--innodb-log-file-size=64M"]
    healthcheck:
      test: ["CMD", "mysqladmin", "ping", "-u", "root", "--password=owncloud"]
      interval: 10s
      timeout: 5s
      retries: 5
    volumes:
      - mysql:/var/lib/mysql

  redis:
    image: redis:6
    container_name: owncloud_redis
    restart: always
    command: ["--databases", "1"]
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 10s
      timeout: 5s
      retries: 5
    volumes:
      - redis:/data

And run:

docker compose up -d

Once it’s running, you can access OwnCloud at http://<your-droplet-ip>:8080.

If you need HTTPS, it’s easy to add a reverse proxy (like Nginx or Caddy) later.

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.