Mat.78
(Matteo)
July 21, 2026, 7:46am
1
NethServer Version: 8
Module: LAMP
Good morning everyone,
I have installed 4 LAMP instances on my server; now, when I connect to cluster-admin, I see that 3 have been updated correctly, but one has not.
I tried to update the instance manually, but it didn’t work:
<6>podman-pull-missing Package lamp · GitHub
<3>Module instance “lamp10” update failed with code 1
Assertion failed
File “/var/lib/nethserver/cluster/actions/update-module/50update”, line 158, in
agent.assert_exp(errors == 0)
So I tried updating the instance via the command line (api-cli run update-module --data ‘{“module_url”:“ghcr.io/nethserver/lamp:1.3.4",“instances”:[“lamp10”],"force”:true }’), but I get an error this way too:
<6>podman pull Package lamp · GitHub
Trying to pull Package lamp · GitHub …
Getting image source signatures
Copying blob sha256:a42a4604761089bd62b9f7ecfaf6ed1f4ae12ddfb436e1aa59126a93380c94ab
Copying config sha256:5ed3da5f8dcc3a592e20772773cf537b3050a04190919ac9bbe6bcbbbad38d91
Writing manifest to image destination
5ed3da5f8dcc3a592e20772773cf537b3050a04190919ac9bbe6bcbbbad38d91
<3>Module instance “lamp10” update failed with code 1
Assertion failed
File “/var/lib/nethserver/cluster/actions/update-module/50update”, line 158, in
agent.assert_exp(errors == 0)
“”
I restarted the application (thinking a memory refresh might help), but nothing: the exact same error occurred.
The strange thing is that the other 3 instances updated without any issues.
Does anyone know what I can do to try and resolve this error?
stephdl
(Stéphane de Labrusse)
July 21, 2026, 5:59pm
2
do this in a terminal
journalctl -f _UID=$(id -u lamp10 )
and in another do the upgrade, we need to catch the exact error
Mat.78
(Matteo)
July 22, 2026, 8:09am
3
Thank you for your reply.
Here is the log shown during the update (performed via the web):
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: chown: changing ownership of ‘./state/crontabs/www-data’: Operation not permitted
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: bee6454365c6e610cf89800ffbc36d53e7c5125037290655a1551bd9fd738e60
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: Traceback (most recent call last):
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: File “/usr/local/agent/actions/update-module/05pullimages”, line 95, in
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: ).check_returncode()
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: ^^^^^^^^^^^^^^^^^^
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: File “/usr/lib64/python3.11/subprocess.py”, line 502, in check_returncode
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: raise CalledProcessError(self.returncode, self.args, self.stdout,
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: subprocess.CalledProcessError: Command '(‘extract-image’, 'ghcr.io/nethserver/lamp:1.3.4’ )’ returned non-zero exit status 1.
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: task/module/lamp10/83cda0b5-0013-49e7-9c46-0c78929e268e: action “update-module” status is “aborted” (1) at step 05pullimages
Jul 22 10:00:58 nethserver agent@lamp10[3561411]: task/module/lamp10/216c7b0e-237d-46a6-9c65-cd2cf61f7d68: update-module/05pullimages is starting
Jul 22 10:00:58 nethserver agent@lamp10[3561411]: podman-pull-missing Package lamp · GitHub
Jul 22 10:00:58 nethserver agent@lamp10[3561411]: podman-pull-missing Package lamp-server-php8.3 · GitHub
Jul 22 10:00:58 nethserver agent@lamp10[3561411]: extract-image Package lamp · GitHub
Jul 22 10:00:58 nethserver agent@lamp10[3561411]: flock: getting lock took 0.000007 seconds
Jul 22 10:00:58 nethserver agent@lamp10[3561411]: ‘.imageroot.lst’ → ‘.imageroot.lst~’
Jul 22 10:00:58 nethserver agent@lamp10[3561411]: Extracting container filesystem imageroot to /home/lamp10/.config
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: Total bytes read: 9523200 (9.1MiB, 241MiB/s)
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/clone-module/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/clone-module/50configure
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/configure-module/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/configure-module/01Hostname_validation
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/configure-module/10configure_environment_vars
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/configure-module/10configure_traefik
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/configure-module/20configure_environment_vars
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/configure-module/20configure_traefik
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/configure-module/70download-php
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/configure-module/80start_services
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/configure-module/90clean-images
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/configure-module/validate-input.json
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/destroy-module/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/destroy-module/20destroy
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/get-configuration/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/get-configuration/20read
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/get-configuration/validate-output.json
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/restore-module/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/restore-module/06copyenv
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/restore-module/40restore_database
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./actions/restore-module/50configure
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./bin/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./bin/clean-images
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./bin/discover-ldap
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./bin/discover-smarthost
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./bin/download-php
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./bin/module-cleanup-state
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./bin/module-dump-state
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./bin/wait-after-apache
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./etc/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./etc/state-include.conf
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./events/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./events/smarthost-changed/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./events/smarthost-changed/10reload_services
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./events/user-domain-changed/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./events/user-domain-changed/20configure_ldap
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./state/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./state/conf.d/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./state/conf.d/mysql.cnf
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./state/conf.d/mysqldump.cnf
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./systemd/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./systemd/user/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./systemd/user/apache2-app.service
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./systemd/user/lamp.service
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./update-module.d/
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./update-module.d/20clean_php_version
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./update-module.d/21add_php_max_execution_time
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./update-module.d/30download-images
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./update-module.d/50restart
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./update-module.d/80clean_former_image
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ./update-module.d/81clean_stephdl_image
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: chown: changing ownership of ‘./state/crontabs/www-data’: Operation not permitted
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: e096f8180c86ba51a6c394e800a0f6f7b35e4860ca61afcb3a997bbd9f699dcd
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: Traceback (most recent call last):
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: File “/usr/local/agent/actions/update-module/05pullimages”, line 95, in
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ).check_returncode()
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: ^^^^^^^^^^^^^^^^^^
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: File “/usr/lib64/python3.11/subprocess.py”, line 502, in check_returncode
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: raise CalledProcessError(self.returncode, self.args, self.stdout,
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: subprocess.CalledProcessError: Command '(‘extract-image’, 'ghcr.io/nethserver/lamp:1.3.4’ )’ returned non-zero exit status 1.
Jul 22 10:00:59 nethserver agent@lamp10[3561411]: task/module/lamp10/216c7b0e-237d-46a6-9c65-cd2cf61f7d68: action “update-module” status is “aborted” (1) at step 05pullimages
stephdl
(Stéphane de Labrusse)
July 22, 2026, 12:49pm
4
Mat.78:
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: chown: changing ownership of ‘./state/crontabs/www-data’: Operation not permitted
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: bee6454365c6e610cf89800ffbc36d53e7c5125037290655a1551bd9fd738e60
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: Traceback (most recent call last):
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: File “/usr/local/agent/actions/update-module/05pullimages”, line 95, in
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: ).check_returncode()
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: ^^^^^^^^^^^^^^^^^^
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: File “/usr/lib64/python3.11/subprocess.py”, line 502, in check_returncode
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: raise CalledProcessError(self.returncode, self.args, self.stdout,
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: subprocess.CalledProcessError: Command '(‘extract-image’, 'ghcr.io/nethserver/lamp:1.3.4’ )’ returned non-zero exit status 1.
Jul 22 09:59:05 nethserver agent@lamp10[3561411]: task/module/lamp10/83cda0b5-0013-49e7-9c46-0c78929e268e: action “update-module” status is “aborted” (1) at step 05pullimages
lamp is not the cause it seems, you cannot pull the image, could you try in the terminal
podman pull ghcr.io/nethserver/lamp:1.3.4
either you are not allowed to download for a reason I do not know, firewall or rejected by ghcr.io or your disk is full but we shoula have the correct error message, no space left
1 Like
Mat.78
(Matteo)
July 22, 2026, 3:51pm
5
I ran the command, and this is the response:
Trying to pull Package lamp · GitHub …
Getting image source signatures
Copying blob a42a46047610 skipped: already exists
Copying config 5ed3da5f8d done |
Writing manifest to image destination
5ed3da5f8dcc3a592e20772773cf537b3050a04190919ac9bbe6bcbbbad38d91
This is the space left on the disk:
Filesystem Size Used Avail Use% Mounted on
overlay 1.5T 420G 1.1T 29% /
/dev/mapper/rl-home 1.5T 420G 1.1T 29% /initdb.d
tmpfs 64M 0 64M 0% /dev
tmpfs 3.2G 224K 3.2G 1% /etc/hosts
shm 63M 0 63M 0% /dev/shm
mrmarkuz
(Markus Neuberger)
July 22, 2026, 4:29pm
6
Could it be a permission issue?
Please check:
[root@node1 ~]# ls -l /home/lamp10/.config/state/crontabs/
total 4
-rw-------. 1 lamp10 952962 1157 Jul 22 16:13 root
1 Like
mrmarkuz
(Markus Neuberger)
July 22, 2026, 6:20pm
8
I wonder how you created this file.
Usually when you create a scheduled task as explained in the documentation , then there’s just a file root. Did you somehow login to the container as www-data?
Please check if the crontab file of www-data contains cronjobs. If it doesn’t, then you can just delete www-data. If it contains important cronjobs, move them to root and then delete the www-data file.
If you need the www-data file, then change the permissions like
chmod 660 /home/lamp10/.config/state/crontabs/www-data
chown lamp10:1215106 /home/lamp10/.config/state/crontabs/www-data
After removing the file or changing the group/permissions, the update should work.
1 Like
Mat.78
(Matteo)
July 22, 2026, 8:59pm
9
No, I never logged in as www-data; I simply created cron jobs that run as www-data to limit their privileges.
The update works perfectly after changing the permissions.
Is it better to move them to the root user, or can I leave them under the www-data user?
1 Like
mrmarkuz
(Markus Neuberger)
July 23, 2026, 7:37am
10
You can leave them under the www-data user.