# 1. I started the Tails Sesrver GUI and told it to install Prosody # before Tor had bootstrapped so it showed the expected "Tor has # not bootstrapped error" # 2. Tor actually seemed to have got stuck, so I restarted it # 3. Tails Server immediately picked up when Tor had bootstrapped and # started to install prosody # 4. However, it got stuck on the "Installing" status, but I did check # and prosody *had* been installed # 5. At some point I tried to remove the stalled Prosody service from # Tails Server, and I think that's why the exceptions where thrown # below. I believe I clicked the remove button twice, which would # explain the *two* identical exceptions. # # So here the real issue is 4 -- Tails Server shouldn't ever get stuck # here. But I also find 5 ugly, that I cannot remove a service that's # in a broken half-installed state and must solve it by restarting # Tails Server. amnesia@amnesia:~$ tails-server --verbose localuser:root being added to access control list root:DEBUG: args: Namespace(log_file='/var/log/tails-server.log', verbose=1) root:DEBUG: Initializing GUI root:DEBUG: Instantiating config panel for service 'gobby' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Instantiating config panel for service 'lighttpd' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Instantiating config panel for service 'mumble' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Instantiating config panel for service 'prosody' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Instantiating config panel for service 'sftp' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Installing persistent services root:DEBUG: Instantiating root:DEBUG: Loading option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/gobby/options' root:DEBUG: options: {'autostart': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/gobby/options' root:DEBUG: Could not find option 'persistence' in '/var/lib/tails-server/gobby/options' root:DEBUG: Storing option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/gobby/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/gobby/options' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/gobby/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/gobby/options' root:DEBUG: Instantiating root:DEBUG: Loading option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/lighttpd/options' root:DEBUG: options: {'autostart': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/lighttpd/options' root:DEBUG: Could not find option 'persistence' in '/var/lib/tails-server/lighttpd/options' root:DEBUG: Storing option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/lighttpd/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/lighttpd/options' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/lighttpd/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/lighttpd/options' root:DEBUG: Instantiating root:DEBUG: Loading option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/mumble/options' root:DEBUG: options: {'autostart': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/mumble/options' root:DEBUG: Could not find option 'persistence' in '/var/lib/tails-server/mumble/options' root:DEBUG: Storing option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/mumble/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/mumble/options' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/mumble/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/mumble/options' root:DEBUG: Instantiating root:DEBUG: Loading option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: options: {'autostart': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Could not find option 'persistence' in '/var/lib/tails-server/prosody/options' root:DEBUG: Storing option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Instantiating root:DEBUG: Loading option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/sftp/options' root:DEBUG: options: {'autostart': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/sftp/options' root:DEBUG: Could not find option 'persistence' in '/var/lib/tails-server/sftp/options' root:DEBUG: Storing option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/sftp/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/sftp/options' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/sftp/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/sftp/options' root:DEBUG: Adding installed services to service list root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Adding service 'prosody' to service list root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' sh.command:INFO: : starting process sh.command:INFO: : starting process root:DEBUG: Acquiring file lock on '/var/lib/tor/hidden_services/prosody/hostname' root:DEBUG: Setting overall status to tor status 'Tor is not running' root:DEBUG: Adding status update for service 'prosody' to main loop: 'Tor is not running' root:DEBUG: Setting switch status to False root:DEBUG: Adding 'prosody.service' to D-Bus monitored units root:DEBUG: Adding 'tails-tor-has-bootstrapped.target' to D-Bus monitored units root:DEBUG: Starting D-Bus status monitor sh.command:INFO: : starting process root:DEBUG: Updating status for service 'prosody': 'Tor is not running' root:DEBUG: Setting tor status to 'Tor is not running' root:DEBUG: Adding status update for service 'prosody' to main loop: 'Tor is not running' root:DEBUG: Setting overall status to tor status 'Tor is not running' sh.command:INFO: : starting process root:DEBUG: Updating status for service 'prosody': 'Tor is not running' root:DEBUG: Setting tor status to 'Tor is not running' root:DEBUG: Setting overall status to tor status 'Tor is not running' sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process sh.command:INFO: : starting process root:DEBUG: Got 'PropertiesChanged' event for unit 'tails-tor-has-bootstrapped.target'. ActiveState: active, SubState: active root:DEBUG: Adding status update for service 'prosody' to main loop: 'Tor is running' root:DEBUG: Updating status for service 'prosody': 'Tor is running' root:DEBUG: Setting tor status to 'Tor is running' root:DEBUG: Setting overall status to installation status 'Not installed' sh.command:INFO: : starting process root:DEBUG: Adding status update for service 'prosody' to main loop: 'Installing' sh.command:INFO: : starting process root:DEBUG: Updating status for service 'prosody': 'Installing' root:DEBUG: Setting installation status to 'Installing' root:DEBUG: Setting overall status to installation status 'Installing' root:DEBUG: Acquiring file lock on '/tmp/tails-server/apt_lock' root:DEBUG: Setting policy-rc to prevent autostart of services root:DEBUG: Acquiring file lock on '/usr/sbin/policy-rc.d' root:DEBUG: Releasing file lock on '/usr/sbin/policy-rc.d' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:INFO: Installing packages: 'prosody' root:DEBUG: Checking if packages are in cache root:DEBUG: Running apt-get install sh.command:INFO: : starting process 3root:DEBUG: Got 'UnitNew' event for unit 'tails-tor-has-bootstrapped.target'. ActiveState: active, SubState: active root:DEBUG: Adding status update for service 'prosody' to main loop: 'Tor is running' root:DEBUG: Updating status for service 'prosody': 'Tor is running' root:DEBUG: Setting tor status to 'Tor is running' root:DEBUG: Setting overall status to installation status 'Installing' root:DEBUG: Got 'UnitNew' event for unit 'tails-tor-has-bootstrapped.target'. ActiveState: active, SubState: active root:DEBUG: Adding status update for service 'prosody' to main loop: 'Tor is running' root:DEBUG: Updating status for service 'prosody': 'Tor is running' root:DEBUG: Setting tor status to 'Tor is running' root:DEBUG: Setting overall status to installation status 'Installing' root:DEBUG: Got 'UnitNew' event for unit 'tails-tor-has-bootstrapped.target'. ActiveState: active, SubState: active root:DEBUG: Adding status update for service 'prosody' to main loop: 'Tor is running' root:DEBUG: Updating status for service 'prosody': 'Tor is running' root:DEBUG: Setting tor status to 'Tor is running' root:DEBUG: Setting overall status to installation status 'Installing' root:DEBUG: Adding status update for service 'prosody' to main loop: 'Uninstalling' root:DEBUG: Updating status for service 'prosody': 'Uninstalling' root:DEBUG: Setting installation status to 'Uninstalling' root:DEBUG: Setting overall status to installation status 'Uninstalling' root:DEBUG: Removing 'prosody.service' from D-Bus monitored units root:DEBUG: Adding status update for service 'prosody' to main loop: 'Offline' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:ERROR: Got exception on thread handler Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tails_server/gui/service.py", line 106, in run_with_exception_handling function(*args) File "/usr/lib/python3/dist-packages/tails_server/gui/gui.py", line 42, in uninstall_service service.uninstall() File "/usr/lib/python3/dist-packages/tails_server/gui/service.py", line 51, in uninstall self.service.uninstall() File "/usr/lib/python3/dist-packages/tails_server/service_template.py", line 415, in uninstall raise ServiceNotInstalledError("Service %r is not installed" % self.name) tails_server.exceptions.ServiceNotInstalledError: Service 'prosody' is not installed root:DEBUG: Adding status update for service 'prosody' to main loop: 'An error occurred. See the log for details.' root:DEBUG: Updating status for service 'prosody': 'Offline' root:DEBUG: Setting onion status to 'Offline' root:DEBUG: Setting overall status to installation status 'Uninstalling' root:DEBUG: Updating status for service 'prosody': 'An error occurred. See the log for details.' root:DEBUG: Adding status update for service 'prosody' to main loop: 'Uninstalling' root:DEBUG: Updating status for service 'prosody': 'Uninstalling' root:DEBUG: Setting installation status to 'Uninstalling' root:DEBUG: Setting overall status to installation status 'Uninstalling' root:DEBUG: Removing 'prosody.service' from D-Bus monitored units root:ERROR: Unit 'prosody.service' not monitored root:DEBUG: Adding status update for service 'prosody' to main loop: 'Offline' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:ERROR: Got exception on thread handler Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tails_server/gui/service.py", line 106, in run_with_exception_handling function(*args) File "/usr/lib/python3/dist-packages/tails_server/gui/gui.py", line 42, in uninstall_service service.uninstall() File "/usr/lib/python3/dist-packages/tails_server/gui/service.py", line 51, in uninstall self.service.uninstall() File "/usr/lib/python3/dist-packages/tails_server/service_template.py", line 415, in uninstall raise ServiceNotInstalledError("Service %r is not installed" % self.name) tails_server.exceptions.ServiceNotInstalledError: Service 'prosody' is not installed root:DEBUG: Adding status update for service 'prosody' to main loop: 'An error occurred. See the log for details.' root:DEBUG: Updating status for service 'prosody': 'Offline' root:DEBUG: Setting onion status to 'Offline' root:DEBUG: Setting overall status to installation status 'Uninstalling' root:DEBUG: Updating status for service 'prosody': 'An error occurred. See the log for details.' root:DEBUG: Stopping D-Bus status monitor localuser:root being removed from access control list # So I quite Tails Server and started it again. The old Prosody instance was not # listed -- great! So I added Prosody again, and it worked perfectly this time. amnesia@amnesia:~$ tails-server --verbose localuser:root being added to access control list root:DEBUG: args: Namespace(log_file='/var/log/tails-server.log', verbose=1) root:DEBUG: Initializing GUI root:DEBUG: Instantiating config panel for service 'gobby' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Instantiating config panel for service 'lighttpd' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Instantiating config panel for service 'mumble' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Instantiating config panel for service 'prosody' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Instantiating config panel for service 'sftp' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Installing persistent services root:DEBUG: Instantiating root:DEBUG: Loading option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/gobby/options' root:DEBUG: options: {'autostart': False, 'persistence': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/gobby/options' root:DEBUG: Instantiating root:DEBUG: Loading option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/lighttpd/options' root:DEBUG: options: {'autostart': False, 'persistence': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/lighttpd/options' root:DEBUG: Instantiating root:DEBUG: Loading option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/mumble/options' root:DEBUG: options: {'autostart': False, 'persistence': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/mumble/options' root:DEBUG: Instantiating root:DEBUG: Loading option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: options: {'autostart': False, 'persistence': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Instantiating root:DEBUG: Loading option 'persistence' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/sftp/options' root:DEBUG: options: {'autostart': False, 'persistence': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/sftp/options' root:DEBUG: Adding installed services to service list root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Adding service 'prosody' to service list root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' sh.command:INFO: : starting process sh.command:INFO: : starting process root:DEBUG: Acquiring file lock on '/var/lib/tor/hidden_services/prosody/hostname' root:DEBUG: Setting overall status to installation status 'Not installed' root:DEBUG: Adding status update for service 'prosody' to main loop: 'Not installed' root:DEBUG: Setting switch status to False root:DEBUG: Adding 'prosody.service' to D-Bus monitored units root:DEBUG: Adding 'tails-tor-has-bootstrapped.target' to D-Bus monitored units root:DEBUG: Starting D-Bus status monitor sh.command:INFO: : starting process root:DEBUG: Adding status update for service 'prosody' to main loop: 'Installing' root:DEBUG: Acquiring file lock on '/tmp/tails-server/apt_lock' root:DEBUG: Setting policy-rc to prevent autostart of services sh.command:INFO: : starting process root:DEBUG: Updating status for service 'prosody': 'Not installed' root:DEBUG: Setting installation status to 'Not installed' root:DEBUG: Setting overall status to installation status 'Not installed' root:DEBUG: Updating status for service 'prosody': 'Installing' root:DEBUG: Setting installation status to 'Installing' root:DEBUG: Setting overall status to installation status 'Installing' root:DEBUG: Acquiring file lock on '/usr/sbin/policy-rc.d' root:DEBUG: Releasing file lock on '/usr/sbin/policy-rc.d' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:INFO: Installing packages: 'prosody' root:DEBUG: Checking if packages are in cache root:DEBUG: Running apt-get install sh.command:INFO: : starting process root:DEBUG: Restoring policy-rc sh.command:INFO: : starting process root:DEBUG: Releasing file lock on '/tmp/tails-server/apt_lock' root:DEBUG: 'prosody' installed root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/installed' root:DEBUG: Releasing file lock on '/var/lib/tails-server/installed' root:DEBUG: Acquiring file lock on '/etc/prosody/prosody.cfg.lua' root:DEBUG: Releasing file lock on '/etc/prosody/prosody.cfg.lua' root:DEBUG: 'prosody' configured root:DEBUG: Adding status update for service 'prosody' to main loop: 'Installed' root:DEBUG: Updating status for service 'prosody': 'Installed' root:DEBUG: Setting installation status to 'Installed' root:DEBUG: Setting overall status to service status 'Stopped' root:DEBUG: Instantiating root:DEBUG: Loading option 'virtual-port' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: options: {'autostart': False, 'persistence': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Could not find option 'virtual-port' in '/var/lib/tails-server/prosody/options' root:DEBUG: Storing option 'virtual-port' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Releasing file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Instantiating root:DEBUG: Loading option 'autostart' root:DEBUG: Acquiring file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: options: {'autostart': False, 'virtual-port': 5222, 'persistence': False} root:DEBUG: Releasing file lock on '/var/lib/tails-server/prosody/options' root:DEBUG: Inserting separator for group 'connection' root:DEBUG: Inserting separator for group 'generic-checkbox' root:DEBUG: Option groups: {'generic-checkbox', 'connection'} root:DEBUG: Adding option 'autostart' (value: False) root:DEBUG: Inserting option_row 'autostart' below separator of group 'generic-checkbox' root:DEBUG: Adding option 'persistence' (value: False) root:DEBUG: Inserting option_row 'persistence' below separator of group 'generic-checkbox' root:DEBUG: Adding option 'virtual-port' (value: 5222) root:DEBUG: Inserting option_row 'virtual-port' below separator of group 'connection' root:DEBUG: Inserting onion address below separator of group 'connection' root:DEBUG: Acquiring file lock on '/var/lib/tor/hidden_services/prosody/hostname' root:DEBUG: Acquiring file lock on '/var/lib/tor/hidden_services/prosody/hostname' root:DEBUG: Acquiring file lock on '/var/lib/tor/hidden_services/prosody/hostname'