In the Dynatrace Managed install docs, it recommends splitting up the directories on to several partitions, which makes sense.
BUT. When I got to run the installer, I get:
```Starting Dynatrace 22.214.171.12480223-155308 installer ...
Following problems were found during scanning of filesystem: Directory /var/opt/dynatrace-managed must be empty```
It is impossible to have that directory empty because there are several mount points created downstream such as /var/opt/dynatrace-managed/logs. There is no option in the installer to bypass this check.
Thanks for your help!
Solved! Go to Solution.
please try the following:
Temporarily move the folders and then put them back into place after the installation.
This worked for me before.
Hope it helps.
For me sounds like a misconfiguration. Can you share with us how directories have you set up ?
01 Mar 2018 10:53 AM - last edited on 23 Mar 2023 06:05 AM by MaciejNeumann
For example, it is recommended to have /var/opt/dynatrace-managed/logs on a separate partition with the recommended size listed here:(https://www.dynatrace.com/support/help/installatio...
Dynatrace won't install if the logs directory exists already. So that means I have to installed dynatrace managed, make a temp dir, copy whatever was put in ./logs into temp. Mount the ./logs partition, then copy everything back to logs and remove the temp dir. This has to happen with the agents and the installation subdirectories too. It makes it very difficult to automate via ansible. If I were somehow able to bypass that check, then I would not have to do this. Is that the way dynatrace is recommending we do the install? remove all subdirectories, install, copy to temp dir, mount, copy back, delete temp dir?