27 Feb 2018 08:30 PM
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 1.138.124.20180223-155308 installer ...
Installation failed.
Errors occurred:
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.
28 Feb 2018 08:32 AM
Hey Marcus,
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.
Max
01 Mar 2018 10:47 AM
For me sounds like a misconfiguration. Can you share with us how directories have you set up ?
01 Mar 2018 06:53 PM - last edited on 23 Mar 2023 01:05 PM 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?