Device or resource busy

$ bash $APPDATA/appzard/scripts/upgrade.sh
Initializing upgrade…
Your current appzard version is 1.0.3.1
The latest appzard version is 1.4
An Appzard update is available!
Do you want to update appzard to the latest version? (Y / n): Y
Starting Appzard update…
Downloading Appzard executable…
######################################################################## 100.0%
Done!
Downloading Build files…
######################################################################## 100.0%
Done!
Unpacking files…
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/AiServerLib.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/AiSharedLib.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/appengine-api-1.0-sdk-1.9.46.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/appengine-api-labs-1.9.46.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/appengine-gcs-client-0.6.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/appengine-jsr107cache-1.9.46.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/CommonConstants.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/commons-codec-1.7.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/commons-fileupload-1.2.2.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/commons-lang3-3.10.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/CommonUtils.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/CommonVersion.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/datanucleus-appengine-1.0.10.final.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/datanucleus-core-1.1.5.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/datanucleus-jpa-1.1.5.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/firebase-token-generator-2.0.0.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/geronimo-jpa_3.0_spec-1.1.1.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/geronimo-jta_1.1_spec-1.1.1.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/google-api-client-1.22.0.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/google-api-client-appengine-1.22.0.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/google-api-services-storage-v1-rev91-1.22.0.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/google-http-client-1.22.0.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/google-http-client-appengine-1.22.0.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/google-http-client-jackson-1.22.0.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/google-http-client-jackson2-1.22.0.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/gson-2.1.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/guava-20.0.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/gwt-servlet.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/gwt-servlet-deps.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/httpclient-4.0.1.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/jackson-core-2.1.3.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/jdo2-api-2.3-eb.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/joda-time-2.6.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/json.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/jsr107cache-1.1.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/jsr305.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/keyczar-0.66-080111-java-1.6.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/libservice.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/log4j-1.2.16.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/objectify-3.1.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/owasp-java-html-sanitizer-20160628.1.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/lib/protobuf-2.6.1.jar
Device or resource busy
error: cannot delete old C:\Users\Adnan\AppData\Roaming/appzard/deps/build/war/WEB-INF/whitelist.txt
Device or resource busy

1 Like

@Ali_GS It seems your old instance is still live. Kill the old instance & I am Changing Category to #discuss.

Simply go to task manager and Kill the task and you are good to go !

1 Like

Seems the data files are used at some point by another problem, likely appengine, perhaps you are running a server in another terminal or had closed it but still being used by the appengine in the background, can you try to follow these steps:
They do apply to this error as well.

2 Likes