Error updating DSS to 12.4.1 - PermissionError: [Errno 13] Permission denied for web_apps directory

Aidan_Cocklin Registered Posts: 1

I am looking to upgrade my instance of DSS on an Azure VM from 11.3.1 to 12.4.1. When running the installation command "dataiku-dss-12.4.1/ -d dss -u", I run into the following error:
11399 -> 11400
- Delete the lower and upper bound of the data drift CI: they were wrong. (Wrapped)
- Migrate webapp working dirs from tmp/ to dedicated web_apps/ folder
* Attempting to rollback
Backing up partially-migrated: dss-version.json -> /home/dataiku/dss/_broken_migration_backup_20240105-224151/dss-version.json
Restoring backup: _pre_migration_backup_20240105-224151/dss-version.json -> dss-version.json
Backing up partially-migrated: bin/ -> /home/dataiku/dss/_broken_migration_backup_20240105-224151/
Restoring backup: _pre_migration_backup_20240105-224151/ -> bin/
Backing up partially-migrated: install.ini -> /home/dataiku/dss/_broken_migration_backup_20240105-224151/install.ini
Restoring backup: _pre_migration_backup_20240105-224151/install.ini -> install.ini
Backing up partially-migrated: databases -> /home/dataiku/dss/_broken_migration_backup_20240105-224151/databases
Restoring backup: _pre_migration_backup_20240105-224151/databases -> databases
Backing up partially-migrated: config -> /home/dataiku/dss/_broken_migration_backup_20240105-224151/config
Restoring backup: _pre_migration_backup_20240105-224151/config -> config
Restore complete, removing marker file
Traceback (most recent call last):
File "/home/dataiku/dataiku-dss-12.4.1/scripts/dkuinstall/", line 26, in <module>
File "/home/dataiku/dataiku-dss-12.4.1/scripts/dkuinstall/", line 102, in migrate
File "/home/dataiku/dataiku-dss-12.4.1/python36.packages/", line 719, in reraise
raise value
File "/home/dataiku/dataiku-dss-12.4.1/scripts/dkuinstall/", line 69, in migrate
migration.execute(dip_home, node_type)
File "/home/dataiku/dataiku-dss-12.4.1/scripts/dkuinstall/", line 172, in execute
File "/home/dataiku/dataiku-dss-12.4.1/scripts/dkuinstall/", line 9654, in execute
os.rename(webapp_folder, new_webapp_folder)
PermissionError: [Errno 13] Permission denied: '/home/dataiku/dss/tmp/TEST/web_apps/heKpJXW' -> '/home/dataiku/dss/web_apps/TEST/heKpJXW'
[ dataiku]$ dataiku-dss-12.4.1/ -d dss -p 10000

I am unsure why this is happening, and would love some advice.

Thanks in advance!



  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,726 Neuron

    Well the error is pretty clear. You have a permissioning error. Check the user that owns /home/dataiku/dss/tmp/TEST/web_apps/heKpJXW, the one that owns /home/dataiku/dss/ and the one you are executing the upgrade as. They should all be the same. If they are not the same account then you need to find out why.

Setup Info
      Help me…