Seafile Server 6.3.1 for Raspberry Pi is ready! 05.07.2018

rpi

#1

You can get it from the Seafile download section.

We warmly recommend you first, before to proceed with the update, to take a view to the Seafile ChangeLog, because the requirements had changed considerably in the last releases :nerd_face:

:pushpin: Please remember:

  • Don’t forget to stop Seafile Server before the upgrade (i.e: service seafile-server stop or, another example: service seahub stop && service seafile stop)
  • Don’t forget to change the directory rights of Seafile after unpacking it (i.e: chown -R seafile:nogroup seafile-server-6.3.1 or, another example: sudo chown -R seafile:seafile seafile-server-6.3.1 )
  • Don’t forget to apply the upgrade script/s according your start release && with the properly user which in normal case should be seafile (i.e change to seafile user: su seafile -s /bin/bash or, another example: sudo su seafile)

Link to the official announcement in forum. Could be a help regarding known errors in x64 version.

Once again, thanks to the developers and Seafile Community

have fun :blush:


#2

Hi,

installling and upgrade script run well. But after that, the file-comment-update-command didn’t succed. Any Suggestions?

seafile@XXX:~/seafile-server-latest$ ./seahub.sh python-env seahub/manage.py migrate_file_comment

LC_ALL is not set in ENV, set to en_US.UTF-8

Warning: File comment has changed since version 6.3, while table `base_filecomment` is not migrated yet, please consider migrate it according to v6.3.0 release note, otherwise the file comment feature will not work correctly.
        
/home/seafile/seafile-server-6.3.1/seahub/thirdpart/requests-2.18.4-py2.7.egg/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.9.1) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
Traceback (most recent call last):
  File "seahub/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/management/__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/management/base.py", line 327, in execute
    self.check()
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/management/base.py", line 359, in check
    include_deployment_checks=include_deployment_checks,
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/management/base.py", line 346, in _run_checks
    return checks.run_checks(**kwargs)
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/checks/registry.py", line 81, in run_checks
    new_errors = check(app_configs=app_configs)
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/checks/urls.py", line 16, in check_url_config
    return check_resolver(resolver)
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/checks/urls.py", line 26, in check_resolver
    return check_method()
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/urls/resolvers.py", line 254, in check
    for pattern in self.url_patterns:
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/utils/functional.py", line 35, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/urls/resolvers.py", line 405, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/utils/functional.py", line 35, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/urls/resolvers.py", line 398, in urlconf_module
    return import_module(self.urlconf_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/seafile/seafile-server-6.3.1/seahub/seahub/utils/rooturl.py", line 41, in <module>
    url(r'^%s' % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)),
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/conf/urls/__init__.py", line 50, in include
    urlconf_module = import_module(urlconf_module)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/seafile/seafile-server-6.3.1/seahub/seahub/urls.py", line 12, in <module>
    from seahub.views.file import view_history_file, view_trash_file,\
  File "/home/seafile/seafile-server-6.3.1/seahub/seahub/views/file.py", line 43, in <module>
    from seahub.wopi.utils import get_wopi_dict
  File "/home/seafile/seafile-server-6.3.1/seahub/seahub/wopi/utils.py", line 7, in <module>
    import requests
  File "/home/seafile/seafile-server-6.3.1/seahub/thirdpart/requests-2.18.4-py2.7.egg/requests/__init__.py", line 90, in <module>
    from urllib3.exceptions import DependencyWarning
ImportError: cannot import name DependencyWarning
Done.

Have i understood correctly that the only problem might be that i am loosing file comments?

Thanks for your help!
Jonathan

EDIT: Seafile runs on a bananapi.


#3

Hi @langhaarschneider

like I already commented on GitHub issues couple of minutes ago:

Problem is caused by olded urllib3 version not from chardet. Update your urlib modules to work with chardet 3.0.4

These are my thirdpart modules:

root@hiperborea /home/seafile/seafile-server-latest/seahub/thirdpart # cat easy-install.pth
./chardet-3.0.4-py2.7.egg             ####   you can see 3.0.4!
./Django-1.11.13-py2.7.egg
./django_compressor-2.2-py2.7.egg
./django_formtools-2.1-py2.7.egg
./django_post_office-3.0.4-py2.7.egg
./djangorestframework-3.8.2-py2.7.egg
./django_simple_captcha-0.5.7-py2.7.egg
./django_statici18n-1.8.0-py2.7.egg
./gunicorn-19.8.1-py2.7.egg
./python_memcached-1.59-py2.7.egg
./pytz-2018.4-py2.7.egg
./qrcode-5.3-py2.7.egg
./requests-2.18.4-py2.7.egg
./requests_oauthlib-0.8.0-py2.7.egg
./six-1.11.0-py2.7.egg
./openpyxl-2.5.3-py2.7.egg
./django_webpack_loader-0.6.0-py2.7.egg
./setuptools-39.2.0-py2.7.egg
./jsonfield-2.0.2-py2.7.egg
./django_appconf-1.0.2-py2.7.egg
./et_xmlfile-1.0.1-py2.7.egg
./certifi-2018.4.16-py2.7.egg
./oauthlib-2.1.0-py2.7.egg
./django_ranged_response-0.2.0-py2.7.egg
./django_constance-2.1.0-py2.7.egg
./flup-1.0.2-py2.7.egg
./python_dateutil-2.7.3-py2.7.egg
./idna-2.6-py2.7.egg
./rcssmin-1.0.6-py2.7-linux-armv6l.egg
./rjsmin-1.0.12-py2.7-linux-armv6l.egg
./olefile-0.45.1-py2.7.egg
./jdcal-1.4-py2.7.egg
./django_picklefield-1.0.0-py2.7.egg
./captcha-0.2.4-py2.7.egg

solution is update urlib to meet chardet dependencies. I think someone has posted the solution a couple of days ago. wait… I will search for the post and i come back to you …

ok, I found it:

the solution was provided by @klangborste we should thank to him :point_up:


#4

Thank you @jobenvil!

i had problems to update those modules especially for python 2.7 - i also wrote the solution in there: [SOLVED] Upgrade from 6.2.5 to 6.3.1 ImportError: cannot import name DependencyWarning


#5

And thanks for 6.3.2 :slight_smile: