> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Docker Upgrade Troubleshooting

> Resolve common permission and configuration issues encountered when upgrading OpenMetadata on Docker deployments.

# Docker Upgrade Troubleshooting

#### Permission Denied when running  `metadata openmetadata-imports-migration`

If you have a `Permission Denied` error thrown when running `metadata openmetadata-imports-migration --change-config-file-path` you might need to change the permission on the `/opt/airflow/dags` folder. SSH into the ingestion container and check the permission on the folder running the below commands

```
ls -l /opt/airflow
```

```
ls -l /opt/airflow/dags
```

both the `dags` folder and the files inside `dags/` should have `airflow root` permission. if this is not the case simply run the below command

```
chown -R airflow:root /opt/airflow/dags
```

#### Broken DAGs can't load config file: Permission Denied

You might need to change the permission on the `/opt/airflow/dag_generated_config` folder. SSH into the ingestion container and check the permission on the folder running the below commands

```
ls -l /opt/airflow
```

```
ls -l /opt/airflow/dag_generated_config
```

both the `dags` folder and the files inside `dags/` should have `airflow root` permission. if this is not the case simply run the below command

```
chown -R airflow:root /opt/airflow/dag_generated_config
```
