soledad-server deb package should create "soledad" user
after installing soledad-server as .deb, soledad-server cannot start because it doesn't create the "soledad" user (which is done in the platform, but for installing soledad-server standalone we should create it in the deb):
root@leap-wheezy:~# dpkg -l|grep soledad ii soledad-common 0.7.2+0~20150901200815.82+wheezy~1.gbp363d96 all Synchronization of locally encrypted data among devices (common files) ii soledad-server 0.7.2+0~20150901200815.82+wheezy~1.gbp363d96 all Synchronization of locally encrypted data among devices (server files) root@leap-wheezy:~# bash -x /etc/init.d/soledad-server start + PATH=/sbin:/bin:/usr/sbin:/usr/bin + PIDFILE=/var/run/soledad.pid + RUNDIR=/var/lib/soledad/ + OBJ=leap.soledad.server.application + LOGFILE=/var/log/soledad.log + HTTPS_PORT=2424 + CERT_PATH=/etc/leap/soledad-server.pem + PRIVKEY_PATH=/etc/leap/soledad-server.key + TWISTD_PATH=/usr/bin/twistd + HOME=/var/lib/soledad/ + SSL_METHOD=SSLv23_METHOD + USER=soledad + GROUP=soledad + '[' -r /etc/default/soledad ']' + test -r /etc/leap/ + . /lib/lsb/init-functions +++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)' ++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']' ++ . /lib/lsb/init-functions.d/20-left-info-blocks ++ FANCYTTY= ++ '[' -e /etc/lsb-base-logging.sh ']' ++ true + case "${1}" in + echo -n 'Starting soledad: twistd' Starting soledad: twistd+ start-stop-daemon --start --quiet --exec /usr/bin/twistd -- --uid=soledad --gid=soledad --pidfile=/var/run/s oledad.pid --logfile=/var/log/soledad.log web --wsgi=leap.soledad.server.application --port=ssl:2424:privateKey=/etc/leap/soledad-serv er.key:certKey=/etc/leap/soledad-server.pem:sslmethod=SSLv23_METHOD Traceback (most recent call last): File "/usr/bin/twistd", line 14, in run() File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 27, in run app.run(runApp, ServerOptions) File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 637, in run config.parseOptions() File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 604, in parseOptions usage.Options.parseOptions(self, options) File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 252, in parseOptions self._dispatch[optMangled].dispatch(optMangled, arg) File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 54, in dispatch value = self.coerce(value) File "/usr/lib/python2.7/dist-packages/twisted/python/util.py", line 976, in uidFromString return pwd.getpwnam(uidString)[2] KeyError: 'getpwnam(): name not found: soledad' + echo . . + exit 0 root@leap-wheezy:~# grep soledad /etc/passwd root@leap-wheezy:~# root@leap-wheezy:~# grep soledad /etc/passwd root@leap-wheezy:~#
(from redmine: created on 2015-09-29, closed on 2015-10-06)