Upgrading from pre-4.2.0 versions¶
Upgrading¶
If you are upgrading from an older version of MCA to the new PWA, you may want to do a clean install and manually copy any configuration settings you have changed over to the new PWA config.
Files that have changed/that you need to change
/etc/mcaor/etc/pwamoves to /etc/perfsonar/psconfig-webwithin /etc/perfsonar/psconfig-web:
index.js
change the name of the mongo db. The old name was
mca, new ispwa– if you want to start completely fresh, leave this aspwa. if you want to retain your configs, change this back tomcato use your existing database.
shared/mca.ui.js moves to shared/pwa.ui.js
update the url path from
../api/mcato../api/pwachange the title from “MeshConfig Admin” to “pSConfig Web Admin”
shared/auth.ui.js
change title to “PWA Authentication Service”
change logo_400_url to
images/pscweb_logo.png
You will also need to add the new pwa role to each user:
docker exec -it sca-auth /app/bin/auth.js modscope --username user --add '{"pwa": ["user"]}'
To make them an admin:
docker exec -it sca-auth /app/bin/auth.js modscope --username user --add '{"pwa": ["admin"]}'
