Zum Hauptinhalt springen

Disable Mandatory Password for Public Links

By default, OpenCloud requires a password for public shares. If you'd like to disable this requirement, follow the steps below.

Edit the .env File

Open the environment configuration file located in your opencloud-compose directory:

nano opencloud-compose/.env

Add the following environment variable to disable the password requirement for public links:

OC_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD=false

Restart Docker Services

After saving the file, shut down and restart the Docker containers to apply the changes:

docker compose down
docker compose up -d

Result

The system no longer enforces a password when creating public share links.

hinweis

This change applies globally to all public shares created after the restart.