Closed cheegui closed 1 year ago
It's okay. Finally got it to work with this:
OCIS_INSECURE=true
PROXY_TLS=false
OCIS_URL=https://ocis.example.com
PROXY_HTTP_ADDR=0.0.0.0:9200
IDM_CREATE_DEMO_USERS=true
OCIS_LOG_LEVEL=debug
OCIS_CONFIG_DIR=/etc/ocis
OCIS_BASE_DATA_PATH=/var/ocis
WEB_UI_THEME_PATH=/themes/owncloud/theme.json
The logo image file has to be around the same size as the default 436 x 207. The slogan is only changed in the redirect page but not in the login page. Still figuring this out...
closed. works in redirect page and later but not in the login page.
closed
That observation is correct. The login page belongs to the idP and is statically themed. The default is libreConnect
if you are using keycloak, the login page would be rendered by keycloak. We are using an owncloud theme for that.
Describe the bug
We are running OCIS 3.0 binary on Ubuntu 22.04 and were unable to change the logo in Administration Settings -> Appearance -> Logo. The page refreshed by itself after the upload but nothing's changed. Manually refreshing the browser and restarted OCIS server didn't work. The new logo file was successfully uploaded to the OCIS_BASE_DATA_PATH/assets/branding folder on the server though. We added these environment variables WEB_UI_THEME_SERVER=https://localhost:9200 and WEB_UI_THEME_PATH=/themes/owncloud/theme.json to the ocis.env and did systemctl daemon-reload and systemctl restart ocis but to no avail. Suspecting that it might be a problem with our new logo image file, we modified the "name" and "slogan" in the theme.json file that was automatically created in OCIS_BASE_DATA_PATH/assets/themes/owncloud/ on the server when we uploaded our logo file. But nothing's changed. We also tried using a config.json (using the examples in https://doc.owncloud.com/) but got the default ownCloud blue background page when going to the website.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
The original Owncloud logo should be replaced by our own logo after we upload our new logo file. The name and slogan of our website should change from "ownCloud" and "a safe for all your data" to our own name and slogan after we create our own theme.json or modify the theme.json automatically created by ocis after a new logo is uploaded.
Actual behavior
The logo was successfully loaded to the server but the website still displayed the original ownCloud logo. Changing the "name" and "slogon" in theme.json didn't take effect.
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Additional context
Thank you very much in advance.