Error with share link seafile

Hi,
i ahave installed collabora latest version. I have integrate collabora with seafile.
https://manual.seafile.com/deploy/libreoffice_online/

Visualization e modify is ok. i have a problem with share link in seafile, when i open page i have this error


I dont have some error in collabora server or sefile server

I’m not sure I understand the last sentence correctly, but you should check for ERR entries in CODE/Collabora Online logs.

If the problem is on Seafile side, I would suggest contacting them one way or another: Seafile - Open Source File Sync and Share Software

Hey @sistemisti5,

Thanks for posting about this issue.

i have a problem with share link in seafile, when i open page i have this error

Yes, I agree with @bearon, perhaps it is a language issue.

Could you give us a little more info on what is happening?

So, you’ve:

  • Successfully installed CollaboraOnline.

and:

  • Seafile is opening CollaboraOnline okay.
  • And you’re able to open/edit documents fine.

Now, you’re trying to… link someone else to a document/Seafile URL? And that’s where things are going wrong?


Also, for future searchability, you’re getting an error:

Italian:

Errore durante la preparazione della pagina di anteprima del file di Office Online.

translated to English:

Error while preparing Office Online file preview page.


i ahave installed collabora latest version.

That could mean many things! (And if someone comes across this a year from now, they will be a new “latest version”!)

Q1] Can you please give your:

  • Help > About info?

Q2] What is your OS? Browser version?

This is my seafile config to collabora

OFFICE_SERVER_TYPE = ‘CollaboraOffice’

Enable LibreOffice Online

ENABLE_OFFICE_WEB_APP = True

Url of LibreOffice Online’s discovery page

The discovery page tells Seafile how to interact with LibreOffice Online when view file online

You should change https://collabora-online.seafile.com/hosting/discovery to your actual LibreOffice Online server address

OFFICE_WEB_APP_BASE_URL = ‘https://collaboraseafile.regione.abruzzo.it/hosting/discovery

Expiration of WOPI access token

WOPI access token is a string used by Seafile to determine the file’s

identity and permissions when use LibreOffice Online view it online

And for security reason, this token should expire after a set time period

WOPI_ACCESS_TOKEN_EXPIRATION = 30 * 60 # seconds

List of file formats that you want to view through LibreOffice Online

You can change this value according to your preferences

And of course you should make sure your LibreOffice Online supports to preview

the files with the specified extensions

OFFICE_WEB_APP_FILE_EXTENSION = (‘odp’, ‘ods’, ‘odt’, ‘xls’, ‘xlsb’, ‘xlsm’, ‘xlsx’,‘ppsx’, ‘ppt’, ‘pptm’, ‘pptx’, ‘doc’, ‘docm’, ‘docx’)

Enable edit files through LibreOffice Online

ENABLE_OFFICE_WEB_APP_EDIT = True

types of files should be editable through LibreOffice Online

OFFICE_WEB_APP_EDIT_FILE_EXTENSION = (‘odp’, ‘ods’, ‘odt’, ‘xls’, ‘xlsb’, ‘xlsm’, ‘xlsx’,‘ppsx’, ‘ppt’, ‘pptm’, ‘pptx’, ‘doc’, ‘docm’, ‘docx’)

image002.png

This is my seafile config to collabora

It looks like that formatting may have been broken.

Could you edit the post + add that info on the forum?