Closed PhillipOConnor closed 3 years ago
Confirmed. Our CI server has the same problem, however, for some reason, it seems it ran no debian-install jobs between December 7 and January 4. 5.1.1-2 was released before Christmas, so the error must have been present since then.
Closed in f22a3e1
5.1.1-3 has been uploaded to apt.uninett.no
The bug Installation of nav (5.1.1-2) on a fresh Debian 10 that has not had nav before and hence has no log files yet fails with:
chown: cannot access '/var/log/nav/*.log': No such file or directory
chown: cannot access '/var/log/nav/*.log.*gz': No such file or directory
dpkg: error processing package nav (--configure):
installed nav package post-installation script subprocess returned error exit status 1
The package status in aptitude is "c" indicating a broken installation.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour Installation without errors and a package status of "i"
Environment
Additional context postgreSQL already installed
Hint Creating dummy logs allows the install to work:
touch /var/log/nav/dummy.log
touch /var/log/nav/dummy.log.gz