I have several projects deployed and have forgotten or misplaced the SC production environment passwords. How do I reset or return to the default “scriptcase” password short of completely replacing the _lib folder and starting over? Most of the sites are SC 9.4. If I update them to SC 9.5 will that generate a prompt to reset the connection, environmental variables, etc?
Anybody have this problem before?
If you make a “typical deploy” of a dummy app with ticking the “Deploy with the common libraries”, it resets the production password.
Thank you, I’ll try that.
In the file /_lib/prod/lib/php/nm_ini_manager2.php
replace line (line 307 in the current version):
$str_pwd_ini = decode_string($arr_ini[‘GLOBAL’][‘PASSWORD’]);
with
$str_pwd_ini = ‘mypassword’; // or whatever you want
1 Like
Thanks!