Seafile

De Banane Atomic
Aller à la navigationAller à la recherche

Liens

Installation ARM + MySQL

Télécharger les sources pour Raspberry PI

Bash.svg
# prérequis
pacman -S python2-setuptools python2-pillow mysql-python

cd seafile-server-x.x.x
chmod +x seafile/bin/ccnet-init

bash ./setup-seafile-mysql.sh

Erreurs

OSError: [Errno 13] Permission denied

Generating ccnet configuration ...

Traceback (most recent call last):
  File "setup-seafile-mysql.py", line 1461, in <module>
    main()
  File "setup-seafile-mysql.py", line 1414, in main
    ccnet_config.generate()
  File "setup-seafile-mysql.py", line 810, in generate
    if Utils.run_argv(argv, env=env_mgr.get_binary_env()) != 0:
  File "setup-seafile-mysql.py", line 84, in run_argv
    env=env)
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied

ccnet-init n'a pas le droit d'execution

Bash.svg
chmod +x /srv/http/seafile/seafile-server-x.x.x/seafile/bin/ccnet-init

Error: Failed to generate ccnet configuration

Bash.svg
# l'execution de ccnet-init en ligne de commande donne plus de détails sur l'erreur
LD_LIBRARY_PATH=/srv/http/seafile/seafile-server-x.x.x/seafile/lib ccnet-init -F /srv/http/seafile/conf --config-dir /srv/http/seafile/ccnet --name server-name --host www.domaine.fr

# error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
Malheureusement libselinux ne peut être installé car une de ses dépendance libsepol ne peut être installé sur un système arm.
ERROR: libsepol is not available for the 'armv7h' architecture.