Open individual-it opened 3 months ago
something must be corrupted with my data, because I can use the same configuration of a fresh data directory, but not on the existing :-(
@individual-it I had this exact issue because of the update of collaboration service. Basically you have to change the old wopi gateway to this collaboration service now (the example has changed if you used a helm chart). After this, I had to delete the service-registry bucket in nats and rollout restart all deployments, and everything was back again.
The only issue is that after a couple days it was back so I am pretty sure it's a nasty bug, however, I still don't understand the system well enough to know from where.
@bagutzu I got rid of collaboration service and all other external apps in the above example and it still would not work. But what you are saying also done the trick for me: deleting the nats
folder and now it works.
Let see if the issue comes back
upgraded from 5.0.8 to 6.x.x and had problems accessing files on web ui with "Resource not found" errors. and I was getting "transport: Error while dialing: dial tcp" error and the "JETSTREAM - JetStream connection closed: Client Closed | service=nats line=github.com/owncloud/ocis/v2/services/nats/pkg/logging/nats.go:45" logspam.
the above work around to delete <ocisdata>/nats
fixed it for me.
Describe the bug
After upgrade to 6.2.0 (also tried 6.3.0) I could not login to the webUI. Digging deeper, the problem seemed to be that the
app/list
endpoint mostly returns500
Steps to reproduce
Expected behavior
login should work
Actual behavior
app/list
endpoint mostly returns500
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
docker-compose.yml
:```yaml --- services: ocis: image: owncloud/ocis-rolling:6.2.0 networks: ocis-net: ports: - "9200:9200" entrypoint: - /bin/sh command: [ "-c", "ocis server" ] environment: OCIS_URL: https://${OCIS_DOMAIN:-ocis.in-nepal.de} OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-warn} OCIS_LOG_COLOR: "${OCIS_LOG_COLOR:-false}" OCIS_INSECURE: "${INSECURE:-false}" OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD: false PROXY_HTTP_ADDR: 0.0.0.0:9200 PROXY_TLS: false OCIS_CACHE_STORE: "nats-js-kv" #OCIS_CACHE_STORE_NODES: "cache:6379" OCIS_LOG_FILE: /var/log/ocis/ocis.log MICRO_REGISTRY_ADDRESS: 127.0.0.1:9233 GATEWAY_GRPC_ADDR: 0.0.0.0:9142 NATS_NATS_HOST: 0.0.0.0 NATS_NATS_PORT: 9233 OCIS_SERVICE_ACCOUNT_ID: "******" OCIS_SERVICE_ACCOUNT_SECRET: "******" WEB_OPTION_OPEN_LINKS_WITH_DEFAULT_APP: false WEB_UI_CONFIG_FILE: /etc/ocis/web.config.json PROXY_CSP_CONFIG_FILE_LOCATION: /etc/ocis/csp.yaml restart: always volumes: - type: bind source: /mnt/HC_Volume_32687865/ocis-config target: /etc/ocis - type: bind source: /mnt/HC_Volume_32687865/ocis-data target: /var/lib/ocis - type: bind source: /mnt/HC_Volume_32687865/ocis-logs target: /var/log/ocis networks: ocis-net: ```
web.config.json
:```json { "server": "https://ocis.in-nepal.de", "theme": "https://ocis.in-nepal.de/themes/owncloud/theme.json", "openIdConnect": { "metadata_url": "https://ocis.in-nepal.de/.well-known/openid-configuration", "authority": "https://ocis.in-nepal.de", "client_id": "web", "response_type": "code", "scope": "openid profile email" }, "options": { "topCenterNotifications": true, "openLinksWithDefaultApp": false, "sidebar": { "shares": { "showAllOnLoad": true } }, "contextHelpersReadMore": true }, "apps": [ "files", "text-editor", "pdf-viewer", "search", "external", "admin-settings", "ocm", "webfinger" ] } ```
Additional context
log output: