diff --git a/htroot/ConfigUpdate_p.html b/htroot/ConfigUpdate_p.html
index 31aafabba..2be2f3ee6 100644
--- a/htroot/ConfigUpdate_p.html
+++ b/htroot/ConfigUpdate_p.html
@@ -58,7 +58,8 @@
Download of release #[downloadedRelease]# finished. Restart Initiated.
::
No more recent release found.
::
Omitting update because this is a development environment.
::
- Omitting update because download of release #[downloadedRelease]# failed.
+ Omitting update because download of release #[downloadedRelease]# failed.
::
+ Omitting update because an error occurred while trying to deploy the release.
#(/autoUpdate)#
diff --git a/htroot/ConfigUpdate_p.java b/htroot/ConfigUpdate_p.java
index c70e71f39..f11e6ebab 100644
--- a/htroot/ConfigUpdate_p.java
+++ b/htroot/ConfigUpdate_p.java
@@ -149,10 +149,14 @@ public class ConfigUpdate_p {
sb.getLog().info("AUTO-UPDATE: omitting update because download failed (file cannot be found, is too small or signature was bad)");
prop.put("candeploy_autoUpdate", "4");
} else {
- yacyRelease.deployRelease(downloaded);
- sb.terminate(10, "manual release update to " + downloaded.getName());
- sb.getLog().info("AUTO-UPDATE: deploy and restart initiated");
- prop.put("candeploy_autoUpdate", "1");
+ if(yacyRelease.deployRelease(downloaded)) {
+ sb.terminate(10, "manual release update to " + downloaded.getName());
+ sb.getLog().info("AUTO-UPDATE: deploy and restart initiated");
+ prop.put("candeploy_autoUpdate", "1");
+ } else {
+ sb.getLog().info("AUTO-UPDATE: omitting update because an error occurred while trying to deploy the release..");
+ prop.put("candeploy_autoUpdate", "5");
+ }
}
}
}
diff --git a/htroot/Steering.html b/htroot/Steering.html
index 34d7f595c..7f6003222 100644
--- a/htroot/Steering.html
+++ b/htroot/Steering.html
@@ -196,6 +196,12 @@ XDtoU7vQ/wIAAP//AwBb7ktEXQ4nqQAAAABJRU5ErkJggg==" width="128" height="64" alt="K
::
The file you are trying to install is not located in the release directory.
Go back to the System Update page.
+::
+ An error occurred when trying to install release #[release]#
+ Please check your log or go back to the System Update page.
+::
+ You are in a development environment or the file you are trying to install is empty.
+ Go back to the System Update page.
#(/info)#