Dear Jingfeng, It seems that reinstallation or upgrading of this port overwrites settings.py in haiwen/seafile-server/seahub/seahub/. I suppose that this s not desired behaviour. Also, the seahub bash scripts continue contain placeholders that should be replaced with the correct installation directories. Kindly see below: --> /usr/local/www/haiwen/seafile-server/seahub/send_user_notifications.sh: #cd ##FIX_WWWDIR##/seafile-server/seahub cd /usr/local/www/haiwen/seafile-server/seahub #export CCNET_CONF_DIR=##FIX_WWWDIR##/ccnet export CCNET_CONF_DIR=/usr/local/www/haiwen/ccnet #export SEAFILE_CONF_DIR=##FIX_WWWDIR##/seafile-data export SEAFILE_CONF_DIR=/home/[instance]/data --> /usr/local/www/haiwen/seafile-server/seahub/setenv.sh: #export CCNET_CONF_DIR=##FIX_WWWDIR##/ccnet export CCNET_CONF_DIR=/usr/local/www/haiwen/ccnet #export SEAFILE_CONF_DIR=##FIX_WWWDIR##/seafile-data export SEAFILE_CONF_DIR=/home/[instance]/data What do you think? Thank a lot, indeed. Chris
Could you please provide a patch.
Settings.py is not a configuration file, it is changed on every update. The configuration file for settings.py is seahub_settings.py in the haiwen directory. bug 203929 is an port update that contains many fixes including the #FIX_WWWDIR placeholder. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203929
This is not a bug and works as intended, the configuration file for settings.py is /usr/local/www/haiwen/conf/seahub_settings.py. Anything you need to edit in settings.py should be placed in this file as it is not overwritten. This bug should be safe to close.
Maintainer feedback timeout. I guess this is up to you now, Martin.
Ah, the maintainers changed, per Bug #204110, which occurred many moons ago, so I'm actually setting this to maintainer-feedback+ because Ultima responded. Also, closing.