The documentation mentions two work folders.
enonic-xp-[version]
|- home/work/ * Cache and generated bundles are stored here. This folder will not appear until the installation is started the first time.
|- work/ * OSGI cache is stored here. This folder will not appear until the installation is started for the first time.
We have experienced exceptions in the log in relation to upgrade from 6.7.3 and 6.8.0.
Example:
java.io.FileNotFoundException: D:\EnonicXPHome\work\osgi\cache\bundle9\bundle.location (The system cannot find the file specified)
As I can see the .location files references the file path to a jar file.
Example:
file:/E:/server/enonic-xp-8081/bin/../system/com/enonic/xp/repack-okhttp/6.8.0/repack-okhttp-6.8.0.jar
Question:
What is best practice in regards to the work folder when upgrading Enonic XP. Should it be deleted before server start on new version? This seems like a good idea since location files in work folder references bundles with the old version number.