[Freedombox-pkg-team] Bug#980039: freedombox: Setup Wizard stuck on the welcome screen

Christian Perrier christian.perrier.1961 at gmail.com
Fri Jan 15 10:14:32 GMT 2021


>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?

Hello James,

(may I suggest CC'ing <bugnr>-submitter at 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)

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).

journalctl -u plinth gives a hint :

janv. 13 19:04:26 kheops /usr/bin/plinth[928]: Running first setup.
janv. 13 19:04:26 kheops /usr/bin/plinth[928]: Running setup for
modules, essential - True, selected modules - None
janv. 13 19:04:26 kheops /usr/bin/plinth[928]: Running module setup - apache
janv. 13 19:04:27 kheops /usr/bin/plinth[928]: Error running setup - php-fpm
                                               Traceback (most recent
call last):
                                                 File
"/usr/lib/python3/dist-packages/plinth/setup.py", line 78, in run

self.module.setup(self, old_version=current_version)
                                                 File
"/usr/lib/python3/dist-packages/plinth/modules/apache/__init__.py",
line 65, in setup

helper.install(managed_packages)
                                                 File
"/usr/lib/python3/dist-packages/plinth/setup.py", line 102, in install
                                                   raise
PackageNotInstalledError(package_name)

plinth.errors.PackageNotInstalledError: php-fpm
janv. 13 19:04:27 kheops /usr/bin/plinth[928]: Error running setup - php-fpm

So I actually assumed that a dependency might be missing somewhere.
So, I just "apt-installed" php-fpm and then :

janv. 15 11:12:02 kheops /usr/bin/plinth[928]: Running first setup.
janv. 15 11:12:02 kheops /usr/bin/plinth[928]: Running setup for
modules, essential - True, selected modules - None
janv. 15 11:12:02 kheops /usr/bin/plinth[928]: Running module setup - apache
janv. 15 11:12:03 kheops /usr/bin/plinth[928]: # apache setup --old-version 0
janv. 15 11:12:03 kheops sudo[28790]:   plinth : TTY=unknown ; PWD=/ ;
USER=root ; COMMAND=/usr/share/plinth/actions/apache setup
--old-version 0
janv. 15 11:12:03 kheops sudo[28790]: pam_unix(sudo:session): session
opened for user root by (uid=0)
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!
                                               Traceback (most recent
call last):
                                                 File
"/usr/share/plinth/actions/apache", line 202, in <module>
                                                   main()
                                                 File
"/usr/share/plinth/actions/apache", line 198, in main
                                                   subcommand_method(arguments)
                                                 File
"/usr/share/plinth/actions/apache", line 160, in subcommand_setup

webserver.enable('javascript-common', kind='config')
                                                 File
"/usr/lib/python3/dist-packages/plinth/action_utils.py", line 227, in
enable
                                                   action_required =
webserver_enable(name, kind, apply_changes=False)
                                                 File
"/usr/lib/python3/dist-packages/plinth/action_utils.py", line 157, in
webserver_enable

subprocess.check_output([command_map[kind], name])
                                                 File
"/usr/lib/python3.7/subprocess.py", line 395, in check_output
                                                   **kwargs).stdout
                                                 File
"/usr/lib/python3.7/subprocess.py", line 487, in run
                                                   output=stdout, stderr=stderr)

subprocess.CalledProcessError: Command '['a2enconf',
'javascript-common']' returned non-zero exit status 1.
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"
                                               Traceback (most recent
call last):
                                                 File
"/usr/lib/python3/dist-packages/plinth/setup.py", line 78, in run

self.module.setup(self, old_version=current_version)
                                                 File
"/usr/lib/python3/dist-packages/plinth/modules/apache/__init__.py",
line 68, in setup
                                                   ['setup',
'--old-version', str(old_version)])
                                                 File
"/usr/lib/python3/dist-packages/plinth/actions.py", line 105, in
superuser_run
                                                   log_error=log_error)
                                                 File
"/usr/lib/python3/dist-packages/plinth/actions.py", line 200, in _run
                                                   raise
ActionError(action, output, error)

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
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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/freedombox-pkg-team/attachments/20210115/753fc367/attachment-0001.html>


More information about the Freedombox-pkg-team mailing list