Hi Sunil,

i've attached the output of the plinth-run in foreground.

The failing of letsencrypt is expected, as i'm currently using a locally generated certificate.


Additional Info regarding the version: I checked the syslog, the errors started when 21.15~bpo11+1 was installed in the machine.

Regarding debian-salsa: I guess the account activation mail got lost...

Thanks and best regards,

Dieter


On 26/12/2021 23:20, Sunil Mohan Adapa wrote:
On 12/25/21 13:48, Dieter wrote:
Hi all!

Apparently, my freedombox has some issues with plinth since some days.
I do not know which version of the freedombox-package was used when the problem started.

Currently, it is an up-to-date bullseye with freedombox-package from backports (21.16-bpo11+1).

Plinth is filling the systemlog with these messages:

Dec 25 22:40:13  /usr/bin/plinth[581]: Running setup for apps, essential - True, selected apps - None Dec 25 22:40:13  /usr/bin/plinth[581]: Error running setup - 'NoneType' object has no attribute 'get_setup_version' Dec 25 22:40:13  /usr/bin/plinth[581]: Unable to complete setup: 'NoneType' object has no attribute 'get_setup_version'
Dec 25 22:40:13  /usr/bin/plinth[581]: Will try again in 10 seconds
Dec 25 22:40:23  /usr/bin/plinth[581]: Running regular setup.
Dec 25 22:40:23  /usr/bin/plinth[581]: # packages is-package-manager-busy Dec 25 22:40:23  sudo[2292]:   plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/packages is-package-manager-busy Dec 25 22:40:23  sudo[2292]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=111) Dec 25 22:40:25  sudo[2292]: pam_unix(sudo:session): session closed for user root Dec 25 22:40:26  /usr/bin/plinth[581]: Running setup for apps, essential - True, selected apps - None Dec 25 22:40:26  /usr/bin/plinth[581]: Error running setup - 'NoneType' object has no attribute 'get_setup_version' Dec 25 22:40:26  /usr/bin/plinth[581]: Unable to complete setup: 'NoneType' object has no attribute 'get_setup_version'
Dec 25 22:40:26  /usr/bin/plinth[581]: Will try again in 10 seconds

Do you know what is wrong or how i can fix this?


Hi Dieter,

Could you please provide the output of the following (or send me a more complete journal from above run privately):

# systemctl stop plinth

# sudo -u plinth plinth
<Control-C> to terminate when error message repeats.

# systemctl start plinth

Thanks,

dieter@regenbogenbruecke:~$ sudo -u plinth plinth
    INFO axes.watch_login     AXES: BEGIN LOG
    INFO axes.watch_login     AXES: Using django-axes version 5.4.3
    INFO axes.watch_login     AXES: blocking by IP only.
    INFO plinth.__main__      FreedomBox Service (Plinth) version - 21.16
    INFO plinth.__main__      Script prefix - /plinth
    INFO plinth.actions       $ ikiwiki get-sites
   ERROR plinth.app           Exception while running init for <module 
'plinth.modules.help' from 
'/usr/lib/python3/dist-packages/plinth/modules/help/__init__.py'>: [Errno 2] No 
such file or directory: '/usr/share/freedombox/manual'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/plinth/app.py", line 536, in 
_initialize_module
    module.app = app_class()
  File "/usr/lib/python3/dist-packages/plinth/modules/help/__init__.py", line 
58, in __init__
    langs = os.listdir(os.path.join(cfg.doc_dir, 'manual'))
FileNotFoundError: [Errno 2] No such file or directory: 
'/usr/share/freedombox/manual'
    INFO plinth.app           Initialized apps - storage, firewall, security, 
apache, sso, api, help, names, letsencrypt, networks, datetime, upgrades, 
dynamicdns, config, ssh, cockpit, backups, snapshot, diagnostics, first_boot, 
users, avahi, power, wireguard, shadowsocks, calibre, mediawiki, bind, ikiwiki, 
minidlna, minetest, performance, infinoted, coturn, ejabberd, searx, mumble, 
i2p, radicale, privoxy, pagekite, ttrss, bepasty, zoph, jsxc, mldonkey, gitweb, 
sharing, syncthing, quassel, tor, shaarli, openvpn, wordpress, transmission, 
roundcube, deluge, samba, matrixsynapse
    INFO plinth.actions       # dynamicdns status
    INFO plinth.modules.names Added domain freedomboxdomain of type 
domain-type-dynamic with services __all__
    INFO plinth.actions       # letsencrypt get-status
    INFO plinth.modules.letsencrypt Obtaining certificate for freedomboxdomain
    INFO plinth.actions       # letsencrypt obtain --domain freedomboxdomain
   ERROR plinth.actions       Error executing command - ['sudo', '-n', 
'/usr/share/plinth/actions/letsencrypt', 'obtain', '--domain', 
'freedomboxdomain'], , Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Performing the following challenges:
http-01 challenge for freedomboxdomain
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification...
Challenge failed for domain freedomboxdomain
http-01 challenge for freedomboxdomain
Cleaning up challenges
Some challenges have failed.


    INFO plinth.actions       # dynamicdns status
    INFO plinth.modules.names Added domain freedomboxdomain of type 
domain-type-static with services __all__
    INFO plinth.actions       # letsencrypt get-status
    INFO plinth.modules.letsencrypt Obtaining certificate for freedomboxdomain
    INFO plinth.actions       # letsencrypt obtain --domain freedomboxdomain
   ERROR plinth.actions       Error executing command - ['sudo', '-n', 
'/usr/share/plinth/actions/letsencrypt', 'obtain', '--domain', 
'freedomboxdomain'], , Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Performing the following challenges:
http-01 challenge for freedomboxdomain
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification...
Challenge failed for domain freedomboxdomain
http-01 challenge for freedomboxdomain
Cleaning up challenges
Some challenges have failed.


    INFO plinth.actions       # openvpn is-setup
    INFO plinth.modules.letsencrypt Checking if any Let's Encrypt certificates 
got renewed.
    INFO plinth.actions       # letsencrypt get-status
    INFO plinth.setup         Running regular setup.
    INFO plinth.web_server    Setting up CherryPy server
    INFO plinth.glib          Started new thread for glib main loop.
    INFO plinth.network       Creating network manager client
    INFO plinth.actions       # packages is-package-manager-busy
    INFO plinth.dbus          D-Bus connection acquired: org.freedombox.Service
    INFO plinth.dbus          D-Bus name acquired: org.freedombox.Service
    INFO plinth.network       Created Network manager client
    INFO cherrypy.error       [27/Dec/2021:23:14:08] ENGINE Listening for 
SIGTERM.
    INFO cherrypy.error       [27/Dec/2021:23:14:08] ENGINE Listening for 
SIGHUP.
    INFO cherrypy.error       [27/Dec/2021:23:14:08] ENGINE Listening for 
SIGUSR1.
    INFO cherrypy.error       [27/Dec/2021:23:14:08] ENGINE Bus STARTING
    INFO cherrypy.error       [27/Dec/2021:23:14:08] ENGINE Started monitor 
thread '_TimeoutMonitor'.
    INFO cherrypy.error       [27/Dec/2021:23:14:09] ENGINE Serving on 
http://127.0.0.1:8000
    INFO cherrypy.error       [27/Dec/2021:23:14:09] ENGINE Bus STARTED
    INFO plinth.modules.storage.udisks2 Drive XXXX appears healthy
    INFO plinth.modules.storage.udisks2 New filesystem found:  /dev/mmcblk0p1
    INFO plinth.modules.storage.udisks2 Ignoring auto-mount on already mounted 
device:  /dev/mmcblk0p1
    INFO plinth.modules.storage.udisks2 New filesystem found:  /dev/sda1
    INFO plinth.modules.storage.udisks2 Ignoring auto-mount on already mounted 
device:  /dev/sda1
    INFO plinth.modules.storage.udisks2 New filesystem found: /dev/mmcblk0p3
    INFO plinth.modules.storage.udisks2 Ignoring auto-mount on already mounted 
device: /dev/mmcblk0p3
    INFO plinth.setup         Running setup for apps, essential - True, 
selected apps - None
   ERROR plinth.setup         Error running setup - 'NoneType' object has no 
attribute 'get_setup_version'
 WARNING plinth.setup         Unable to complete setup: 'NoneType' object has 
no attribute 'get_setup_version'
    INFO plinth.setup         Will try again in 10 seconds
    INFO plinth.setup         Running regular setup.
    INFO plinth.actions       # packages is-package-manager-busy
^C    INFO cherrypy.error       [27/Dec/2021:23:14:23] ENGINE Keyboard 
Interrupt: shutting down bus
    INFO cherrypy.error       [27/Dec/2021:23:14:23] ENGINE Bus STOPPING
    INFO cherrypy.error       [27/Dec/2021:23:14:23] ENGINE HTTP Server 
cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8000)) shut down
    INFO plinth.glib          Exiting glib main loop
    INFO cherrypy.error       [27/Dec/2021:23:14:23] ENGINE Stopped thread 
'_TimeoutMonitor'.
    INFO cherrypy.error       [27/Dec/2021:23:14:23] ENGINE Bus STOPPED
    INFO plinth.glib          Glib main loop thread exited.
    INFO cherrypy.error       [27/Dec/2021:23:14:23] ENGINE Bus EXITING
    INFO cherrypy.error       [27/Dec/2021:23:14:23] ENGINE Bus EXITED
    INFO cherrypy.error       [27/Dec/2021:23:14:23] ENGINE Waiting for child 
threads to terminate...
    INFO cherrypy.error       [27/Dec/2021:23:14:23] ENGINE Waiting for thread 
Thread-1.
    INFO plinth.setup         Running setup for apps, essential - True, 
selected apps - None
   ERROR plinth.setup         Error running setup - 'NoneType' object has no 
attribute 'get_setup_version'
 WARNING plinth.setup         Unable to complete setup: 'NoneType' object has 
no attribute 'get_setup_version'
    INFO plinth.setup         Will try again in 10 seconds
    INFO plinth.setup         Setup thread finished.

_______________________________________________
Freedombox-discuss mailing list
Freedombox-discuss@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss

Reply via email to