The setting "Models output directory | modeloutputdir " under
is set up to full (expanded) path to $CFG->dataroot . '/models' during installation and is stored in DB config.
When $CFG->dataroot changes, the path to models stays as it was - usually causing permission errors during cron run - like in
Instead, the modeloutputdir should be empty by default.