I have followed the documentation for upgrade and everything works well until I run the upgrade utility.
When executing the command .\upgradesite -s I get following error:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Jun 18, 2024 3:55:43 PM com.esri.arcgis.turing.tools.UpgradeSiteUtility main
INFO: Starting the upgradesite utility.
==================================================
Starting the upgradesite utility.
==================================================
Jun 18, 2024 3:55:43 PM com.esri.arcgis.turing.tools.UpgradeSiteUtility a
INFO: Upgrading the site using URL 'https://notebookserver.example.com:11443/arcgis/admin'.
{"error":{"code":500,"details":null,"message":"The Notebook Server upgrade failed to complete."}}
Jun 18, 2024 3:55:43 PM com.esri.arcgis.turing.tools.UpgradeSiteUtility main
SEVERE: Exiting the upgradesite utility.
java.lang.RuntimeException: Failed to upgrade the ArcGIS Notebook Server.
at com.esri.arcgis.turing.tools.util.ValidationUtil.isUpgradeSiteSuccess(ValidationUtil.java:124)
at com.esri.arcgis.turing.tools.UpgradeSiteUtility.a(UpgradeSiteUtility.java:177)
at com.esri.arcgis.turing.tools.UpgradeSiteUtility.main(UpgradeSiteUtility.java:228)
Failed to upgrade the ArcGIS Notebook Server.
Exiting the upgradesite utility.
Have anyone the same problem?
workaround found:
// Backup of config-store & directories directories :
cd /opt/notebookserver/arcgis/notebookserver/usr
cp -r config-store/ /home/xyzx/
cp -r directories/ /home/xyzx/
cd /home/xyzx/NotebookServer_Linux/
./Setup
/opt/notebookserver/arcgis/notebookserver/tools/authorizeSoftware -f {.....}
// Restore config-store & directories directories :
cd /home/xyzx/
cp -rf config-store/ /opt/notebookserver/arcgis/notebookserver/usr/
cp -rf directories/ /opt/notebookserver/arcgis/notebookserver/usr/
/opt/notebookserver/arcgis/notebookserver/tools/upgradesiteutility/upgradesite.sh -s
{....}