Breaking changes in 1.4.5 + missing changelog
See original GitHub issueHello,
I tried updating from 1.4.4 to 1.4.5, but all my tests fail with some variations of this message:
WARNING: '--some-filepath--/a.txt' is locked by another process, there are a few common causes for this:
- Another application accesses this file:
Nothing you can do about it, it's out of your control.
- 2 instances of this application run simultaneously:
Use SingleInstanceManager to restrict running more than one instance.
- You are calling Update.finalizeUpdate() after launch() and files are already loaded onto JVM:
Call Update.finalizeUpdate() before launch to complete the update process.
- You are attempting to update a file that runs in the bootstrap application:
Bootstrap dependencies cannot typically be updated. For services, leave
the old in place, just release a newer version with a higher version
number and make it available to the boot classpath or modulepath.
- A file that's required in the business application was added to the boot classpath or modulepath:
Much care must be taken that business application files should NOT be
loaded in the boot, the JVM locks them and prevents them from being updated.
Are the breaking changes expected?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
karma/CHANGELOG.md at master - GitHub
BREAKING CHANGES. Karma plugins which rely on the fact that Karma uses Bluebird promises may break as Bluebird-specific API is no longer available...
Read more >Changelog | Meteor API Docs
Great new features and no breaking changes (except one package deprecation). You can always check our Roadmap to understand what is next.
Read more >Changelog | Cypress Documentation
Experimental Breaking Changes: Updates were made to enhance the cy.session() recovered error experience. With this change, cy.session() will no longer fail ...
Read more >Stardew Valley 1.4 Update Full Changelog
Improved many translations and fixed missing font characters in Korean. Changed midnight from 12:00 to 0:00 in Japanese. Added an open sprite to...
Read more >Changelog - Fortune
Fix: pulling from an array no longer reverses the order of the array. ... Breaking change: extracted IndexedDB, HTTP, and WebSocket implementations into ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is a bug! This change explains it very well.
Used to be I would only check for file lock status, and only on Windows. But this change adds accessibility checks on other platforms as well. This explains why this happens when using 1.4.5 only.
I have to add a simple
Files.createDirectories(path.getParent())
No, the update fails.
The stacktrace:
As marked above the version 1.4.5 of
finalizeUpdate
replacedFileUtils.verifyNotLocked
byFileUtils.verifyAccessible
.Also, I’ve noticed that the update will succeed without issues if I manually create all the sub-directories.