Backup NS8 after last Update: cannot stat ‘manual_flags’

It seems the directory “manual_flags” is missing, I assume because it’s not created on update and you don’t have custom HTTP routes.

Please check the files and directories in traefik:

[root@ns8rockytest ~]# runagent -m traefik1 ls -l
total 40
-rw-r--r--. 1 traefik1 traefik1  103 Jul 25  2024 CACHEDIR.TAG
drwxr-xr-x. 2 traefik1 traefik1   56 Mar 17 10:06 acme
-rw-------. 1 traefik1 traefik1  278 Aug  5  2024 agent.env
-rw-------. 1 traefik1 traefik1  212 Mar 12 19:28 apitoken.cache
drwxr-xr-x. 2 traefik1 traefik1 4096 Mar 17 10:07 configs
drwxr-xr-x. 2 traefik1 traefik1 4096 Mar 17 10:06 configs.v2
drwxr-xr-x. 2 traefik1 traefik1  106 Dec 17 22:39 custom_certificates
drwxr-xr-x. 2 traefik1 traefik1  106 Mar 17 10:06 custom_certificates.v2
-rw-r--r--. 1 traefik1 traefik1    0 Jan 25 23:56 dump
-rw-r--r--. 1 traefik1 traefik1  954 Mar 17 10:06 environment
drwxr-xr-x. 2 traefik1 traefik1   31 Jan 30 10:36 manual_flags
-rw-r--r--. 1 traefik1 traefik1 1960 Aug  5  2024 selfsigned.crt
-rw-------. 1 traefik1 traefik1 3268 Aug  5  2024 selfsigned.key
drwxr-xr-x. 6 traefik1 traefik1  100 Mar 18 16:28 state-backup
-rw-r--r--. 1 traefik1 traefik1  568 Mar 17 10:06 traefik.yaml
-rw-r--r--. 1 traefik1 traefik1  534 Mar 17 10:06 traefik.yaml.v2

If the directory “manual_flags” or other dirs don’t exist, just create them:

runagent -m traefik1 mkdir manual_flags

Now the backup hopefully should work again.

EDIT:

This issue should be solved soon, see also User portal, unprotected access from the outside - #14 by davidep or Expose IP allow list configuration in cluster web interface · Issue #7348 · NethServer/dev · GitHub

4 Likes