**Description** A fix for the update to seafile 12 ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [X] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** Basic sync of a library is working <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [X] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com> Co-authored-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com>
1.6 KiB
title
| title |
|---|
| Installation notes and guidelines |
CSRF Error
Starting with Seafile 11, the defaults fail CSRF verification, and you may see the error message when logging in.
To fix this, the following must be added to your seahub_settings.conf file. It is found inside /shared/conf. We recommedend enabling the Code-server addon or mounting the container
Add an entry for: CSRF_TRUSTED_ORIGINS = ["https://seafile.YOURDOMAINHERE.com"]
Storage
Seafile uses Block storage so files/folders uploaded to Seafile aren't visible by default when mounting the persisted storage. For more information see the this post on the Seafile Forums. As well, Seafile uses init scripts which need to be run as root so if hostpath is used (such as using HDDs) then make sure your storage is owned by root.
WebDAV
By default WebDAV is disabled by default, as per upstream docs. Here's some simple instructions to modify your seafdav.conf to enable WebDAV if you wish to use it with Traefik.
- Enter Seafile Pod Shell
- Use the CLI to enter the Seafile WebDAV (
seafdav.conf) config file - Use vi commands to edit the
Enabledtotrueand change the share name as desired (default is/seafdav).
Use
ito insert text and and:wq, andESC keyto exit insert mode
- Restart Seafile and your WebDAV share will be accessible using your domain.com/seafdav



