Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocis vs Wopi. Cannot open file in the collabora #6196

Closed
ScharfViktor opened this issue May 1, 2023 · 8 comments
Closed

ocis vs Wopi. Cannot open file in the collabora #6196

ScharfViktor opened this issue May 1, 2023 · 8 comments
Labels

Comments

@ScharfViktor
Copy link
Contributor

ocis 3.0.0-rc.1
web 7.0.0-rc.32

ocis against wopi using https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_wopi/docker-compose.yml
or open ocis.ocis-wopi.released.owncloud.works

Steps:

  • create odt file

Expect: file opens in the new collabora window

Actual: file couldn't open in collabora

Screen.Recording.2023-05-01.at.22.42.19.mov
@micbar
Copy link
Contributor

micbar commented May 2, 2023

Was a deployment problem related to #3832

@micbar
Copy link
Contributor

micbar commented May 2, 2023

Fixed. please re-test.

@ScharfViktor
Copy link
Contributor Author

retested on current master. still relevant

@micbar
Copy link
Contributor

micbar commented May 2, 2023

where did you test? The app provider unregistering itself always happens when ocis is restarted.

@ScharfViktor
Copy link
Contributor Author

where did you test? The app provider unregistering itself always happens when ocis is restarted.

https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_wopi/docker-compose.yml using fresh image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}

@micbar
Copy link
Contributor

micbar commented May 2, 2023

that means locally?

Please do docker-compose restart ocis-appprovider-collabora That fixes it.

The underlying issue is the registry (see linked ticket)

@ScharfViktor
Copy link
Contributor Author

ScharfViktor commented May 2, 2023

ohh, sorry. I couldn't retest it because have another problem in the latest ocis. ocis crashes and restarts again

{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 192.168.32.9:9998: connect: connection refused","time":"2023-05-02T13:51:40.67790467Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:40","message":"Error initializing search service"}

{"level":"info","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 192.168.32.9:9998: connect: connection refused","transport":"grpc","time":"2023-05-02T13:51:40.677947586Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/command/server.go:62","message":"Failed to initialize server"}

{"level":"info","service":"ocis","event":"ocis: Failed service 'command.SutureService{cfg:(*config.Config)(0x40016ab1e0)}' (2.997855 failures of 5.000000), restarting: true, error: Get \"http://tika:9998/version\": dial tcp 192.168.32.9:9998: connect: connection refused","time":"2023-05-02T13:51:40.708733628Z","line":"github.com/owncloud/ocis/v2/ocis/pkg/runtime/service/service.go:184","message":"supervisor: ocis"}

@ScharfViktor
Copy link
Contributor Author

Please do docker-compose restart ocis-appprovider-collabora That fixes it.

Thank you. after restarting ocis_wopi_ocis-appprovider-collabora file opens in the collabora window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants