<div dir="ltr">
<pre class="gmail-message">>Can you please check the logs of plinth service?
>E.g. run "journalctl -u plinth" as root, and look for any repeating error messages.
>> -- System Information:
>> Distributor ID: Raspbian
>> Description: Raspbian GNU/Linux 10 (buster)
>Could you please share how you installed freedombox package?<br><br></pre><pre class="gmail-message">Hello James,<br><br></pre><pre class="gmail-message">(may I suggest CC'ing <bugnr>-submitter@b.d.o to answers if input is needed by the person who submitted the bug report? I actually noticed your request while looking at the BTS but others might miss it)<br><br></pre><pre class="gmail-message">Anyway, I installed freedombox by installing the backports packages on my home server which is running buster (no other backports as far as I remember).<br><br></pre><pre class="gmail-message">journalctl -u plinth gives a hint :<br><br>janv. 13 19:04:26 kheops /usr/bin/plinth[928]: Running first setup.<br>janv. 13 19:04:26 kheops /usr/bin/plinth[928]: Running setup for modules, essential - True, selected modules - None<br>janv. 13 19:04:26 kheops /usr/bin/plinth[928]: Running module setup - apache<br>janv. 13 19:04:27 kheops /usr/bin/plinth[928]: Error running setup - php-fpm<br> Traceback (most recent call last):<br> File "/usr/lib/python3/dist-packages/plinth/setup.py", line 78, in run<br> self.module.setup(self, old_version=current_version)<br> File "/usr/lib/python3/dist-packages/plinth/modules/apache/__init__.py", line 65, in setup<br> helper.install(managed_packages)<br> File "/usr/lib/python3/dist-packages/plinth/setup.py", line 102, in install<br> raise PackageNotInstalledError(package_name)<br> plinth.errors.PackageNotInstalledError: php-fpm<br>janv. 13 19:04:27 kheops /usr/bin/plinth[928]: Error running setup - php-fpm<br><br></pre><pre class="gmail-message">So I actually assumed that a dependency might be missing somewhere. So, I just "apt-installed" php-fpm and then :<br><br>janv. 15 11:12:02 kheops /usr/bin/plinth[928]: Running first setup.<br>janv. 15 11:12:02 kheops /usr/bin/plinth[928]: Running setup for modules, essential - True, selected modules - None<br>janv. 15 11:12:02 kheops /usr/bin/plinth[928]: Running module setup - apache<br>janv. 15 11:12:03 kheops /usr/bin/plinth[928]: # apache setup --old-version 0<br>janv. 15 11:12:03 kheops sudo[28790]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/apache setup --old-version 0<br>janv. 15 11:12:03 kheops sudo[28790]: pam_unix(sudo:session): session opened for user root by (uid=0)<br>janv. 15 11:12:08 kheops /usr/bin/plinth[928]: Error executing command - ['sudo', '-n', '/usr/share/plinth/actions/apache', 'setup', '--old-version', '0'], , ERROR: Conf javascript-common does not exist!<br> Traceback (most recent call last):<br> File "/usr/share/plinth/actions/apache", line 202, in <module><br> main()<br> File "/usr/share/plinth/actions/apache", line 198, in main<br> subcommand_method(arguments)<br> File "/usr/share/plinth/actions/apache", line 160, in subcommand_setup<br> webserver.enable('javascript-common', kind='config')<br> File "/usr/lib/python3/dist-packages/plinth/action_utils.py", line 227, in enable<br> action_required = webserver_enable(name, kind, apply_changes=False)<br> File "/usr/lib/python3/dist-packages/plinth/action_utils.py", line 157, in webserver_enable<br> subprocess.check_output([command_map[kind], name])<br> File "/usr/lib/python3.7/subprocess.py", line 395, in check_output<br> **kwargs).stdout<br> File "/usr/lib/python3.7/subprocess.py", line 487, in run<br> output=stdout, stderr=stderr)<br> subprocess.CalledProcessError: Command '['a2enconf', 'javascript-common']' returned non-zero exit status 1.<br>janv. 15 11:12:08 kheops /usr/bin/plinth[928]: Error running setup - ('apache', '', 'ERROR: Conf javascript-common does not exist!\nTraceback (most recent call last):\n File "/usr/share/plinth/actions/apache", line 202, in <module>\n main()\n File "/usr/share/plinth/actions/apache"<br> Traceback (most recent call last):<br> File "/usr/lib/python3/dist-packages/plinth/setup.py", line 78, in run<br> self.module.setup(self, old_version=current_version)<br> File "/usr/lib/python3/dist-packages/plinth/modules/apache/__init__.py", line 68, in setup<br> ['setup', '--old-version', str(old_version)])<br> File "/usr/lib/python3/dist-packages/plinth/actions.py", line 105, in superuser_run<br> log_error=log_error)<br> File "/usr/lib/python3/dist-packages/plinth/actions.py", line 200, in _run<br> raise ActionError(action, output, error)<br> plinth.errors.ActionError: ('apache', '', 'ERROR: Conf javascript-common does not exist!\nTraceback (most recent call last):\n File "/usr/share/plinth/actions/apache", line 202, in <module>\n main()\n File "/usr/share/plinth/actions/ap<br>janv. 15 11:12:08 kheops /usr/bin/plinth[928]: Error running setup - ('apache', '', 'ERROR: Conf javascript-common does not exist!\nTraceback (most recent call last):\n File "/usr/share/plinth/actions/apache", line 202, in <module>\n main()\n File "/usr/share/plinth/actions/apache"<br><br><br></pre>
</div>