-
However I tried, files in an encrypted library aren't listed in the search results
This is because the server can't index encrypted files, since, they are encrypted.
-
I switched to Professional Server from Community Server, but whatever I search, I get no results
The search index is updated every 10 minutes by default. So before the first index update is performed, you get nothing no matter what you search.
To be able to search immediately,
- Make sure you have started seafile server
- Update the search index manually:
cd haiwen/seafile-pro-server-1.7.0 ./pro/pro.py search --update
If you have lots of files, this process may take quite a while.
-
I want to enable full text search for office/pdf documents, so I set
index_office_pdf
totrue
in the configuration file, but it doesn't work.In this case, you need to:
- Edit the value of
index_office_pdf
option in/data/haiwen/pro-data/seafevents.conf
totrue
- Restart seafile server
cd /data/haiwen/seafile-pro-server-1.7.0/ ./seafile.sh restart
- Delete the existing search index
./pro/pro.py search --clear
- Create and update the search index again
./pro/pro.py search --update
- Edit the value of
-
Document preview doesn't work, where to find more information?
You can check the log at logs/seafevents.log
-
How can I change max size and max pages of documents that can be previewed online ?
- Locate the
OFFICE CONVERTER
section in/data/haiwen/pro-data/seafevents.conf
. - Append following lines to the section
# the max size of documents to allow to be previewed online, in MB. Default is 2 MB
max-size = 2
# how many pages are allowed to be previewed online. Default is 50 pages
max-pages = 50
Then, restart seafile server
cd /data/haiwen/seafile-pro-server-1.7.0/
./seafile.sh restart
./seahub.sh restart
- Document preview doesn't work on my Ubuntu/Debian server, what can I do?
Current office online preview works with libreoffice 4.0-4.2. If the version of libreoffice installed by apt-get
is too old or too new, you can solve this by:
- Remove the installed libreoffice:
sudo apt-get remove libreoffice* python-uno python3-uno
-
Download libreoffice packages from libreoffice official site
-
Install the downloaded pacakges:
tar xf LibreOffice_4.1.6_Linux_x86-64_deb.tar.gz
cd LibreOffice_4.1.6.2_Linux_x86-64_deb
cd DEBS
sudo dpkg -i *.deb
- Restart your seafile server and try again. It should work now.
./seafile.sh restart