You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ $ac_db_ghe-gt 0 &&$ac_db_snapshot-eq 0 ]];then
292
-
echo"Error: $GHE_HOSTNAME contains ArtifactCache databases but no ArtifactCache databases are present in snapshot. Aborting"1>&2
293
-
echo"Please delete ArtifactCache databases from $GHE_HOSTNAME and retry"1>&2
294
-
echo"Steps to delete ArtifactCache databases can be found here: https://docs.github.com/en/enterprise-server@$RELEASE_VERSION/admin/github-actions/advanced-configuration-and-troubleshooting/deleting-artifact-cache-databases"1>&2
292
+
echo"Error: $GHE_HOSTNAME has Actions Cache service enabled but no Actions Cache data is present in snapshot to restore. Aborting"1>&2
293
+
echo"Please disable Actions cache service in $GHE_HOSTNAME and retry"1>&2
294
+
echo"To disable Actions Cache service run as admin: ghe-actions-cache-disable"1>&2
295
+
exit 1
296
+
fi
297
+
if [[ $ac_db_ghe-eq 0 &&$ac_db_snapshot-gt 0 &&!$RESTORE_SETTINGS ]];then
298
+
echo"Error: $GHE_HOSTNAME has Actions Cache service disabled but the snapshot is attempting to restore data for the service. Aborting"1>&2
299
+
echo"Please enable Actions cache service in $GHE_HOSTNAME and retry"1>&2
300
+
echo"To enable Actions Cache service run as admin: ghe-actions-cache-enable"1>&2
0 commit comments