openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4.05k stars 3.5k forks source link

seafile-server package : can't create-seafile-admin after #15656

Open zemaf opened 3 years ago

zemaf commented 3 years ago

Hi, I'm experiencing some newbie issue with seafile server installation. After having successfully downloaded seafile package ( or it seemmed successful to me) I just can't create an admin!

After "create-seafile-admin" Terminal says: "find: warning: you have specified the global option -maxdepth after the argument -user, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it. Please specify global options before other arguments. find: ‘’: No such file or directory Error: the user running the script ("admin") is not the owner of "" folder, you should use the owner of "" to run the script."

here's what I get from the installation directory: [/share/CACHEDEV1_DATA/.qpkg/Entware/share/seafile] # ls -alh drwxr-xr-x 7 admin administ 4.0k May 18 21:32 ./ drwxr-xr-x 5 admin administ 4.0k Apr 17 11:48 ../ drwx------ 6 admin administ 4.0k May 18 21:32 ccnet/ drwx------ 2 admin administ 4.0k May 18 21:31 conf/ drwx------ 2 admin administ 4.0k May 18 21:32 seafile-data/ drwxr-xr-x 5 admin administ 4.0k May 18 23:04 seafile-server/ drwxr-xr-x 3 admin administ 4.0k May 18 21:32 seahub-data/ -rw-r--r-- 1 admin administ 936.0k May 18 21:32 seahub.db

I'm trying to install seafile server on a qnap nas t131k. I tried to run the check_init_admin.py script but this returns a key error CCNET-CONF-DIR....

Would someone be kind and tell me where I am wrong? I'm aware that I may not be experienced enough to dealing with such an installation... Thanks for your help. zemaf

jefferyto commented 3 years ago

It looks like you are using Entware, if this is correct then you should contact them for assistance.