# Error with share link seafile

**URL:** <https://forum.collaboraonline.com/t/error-with-share-link-seafile/1816>\
**Category:** User Support\
**Tags:** english-en, answered\
**Created:** [May 13, 2023, 10:48am UTC](https://forum.collaboraonline.com/t/error-with-share-link-seafile/1816 "2023-05-13T10:48:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sistemisti5](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sistemisti5](https://forum.collaboraonline.com/u/sistemisti5)\
**Post date:** [May 13, 2023, 10:48am UTC](https://forum.collaboraonline.com/t/error-with-share-link-seafile/1816/1 "2023-05-13T10:48:01Z")

</div>

Hi,  
i ahave installed collabora latest version. I have integrate collabora with seafile.  
[https://manual.seafile.com/deploy/libreoffice\_online/](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

 ![immagine](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/b358605c493594f45e7418dbd0cbc9d7ac3da3aa.png)  
I dont have some error in collabora server or sefile server

---

<div class="post-metadata">

**Author:** ![bearon](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bearon](https://forum.collaboraonline.com/u/bearon)\
**Post date:** [May 15, 2023, 4:07am UTC](https://forum.collaboraonline.com/t/error-with-share-link-seafile/1816/2 "2023-05-15T04:07:57Z")

</div>

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](https://www.seafile.com/en/support/)

---

<div class="post-metadata">

**Author:** ![Tex](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@Tex](https://forum.collaboraonline.com/u/Tex)\
**Post date:** [May 18, 2023, 8:47am UTC](https://forum.collaboraonline.com/t/error-with-share-link-seafile/1816/3 "2023-05-18T08:47:56Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![sistemisti5](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sistemisti5](https://forum.collaboraonline.com/u/sistemisti5)\
**Post date:** [May 18, 2023, 9:15am UTC](https://forum.collaboraonline.com/t/error-with-share-link-seafile/1816/4 "2023-05-18T09:15:28Z")

</div>

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](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](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/5663cc175b7a45554b7caf66a6273ba83b94886d.png)

---

<div class="post-metadata">

**Author:** ![Tex](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@Tex](https://forum.collaboraonline.com/u/Tex)\
**Post date:** [May 18, 2023, 9:24am UTC](https://forum.collaboraonline.com/t/error-with-share-link-seafile/1816/5 "2023-05-18T09:24:52Z")

</div>

> 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?
