mkdir: cannot create directory ‘/archiva-data/temp’: Permission denied
chown: cannot access ‘/archiva-data/temp’: No such file or directory
Installing data
cp: cannot create directory ‘/archiva-data/data’: Permission denied
chown: cannot access ‘/archiva-data/data’: No such file or directory
Installing logs
cp: cannot create directory ‘/archiva-data/logs’: Permission denied
chown: cannot access ‘/archiva-data/logs’: No such file or directory
Installing repositories
mkdir: cannot create directory ‘/archiva-data/repositories’: Permission denied
chown: cannot access ‘/archiva-data/repositories’: No such file or directory
Installing conf
cp: cannot create directory ‘/archiva-data/conf’: Permission denied
chown: cannot access ‘/archiva-data/conf’: No such file or directory
Generating self-signed keystore and certificate for HTTPS support(Dst: /archiva-data/ssl/keystore)
mkdir: cannot create directory ‘/archiva-data/ssl/’: Permission denied
keytool error: java.io.FileNotFoundException: /archiva-data/ssl/keystore (No such file or directory)
mv: cannot move ‘jetty.xml’ to ‘/archiva-data/conf/jetty.xml’: No such file or directory
Running Apache Archiva...
FATAL | wrapper | Unable to resolve the full path of the configuration file, /opt/archiva/conf/wrapper.conf: No such file or directory
Using the command from the example:
or
Results in:
I see there is also a comment about this https://hub.docker.com/r/xetusoss/archiva/ Is there a workaround or we have to set permissions to that folder every time?