-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx jhipster upgrade
doesn't work to upgrade an app from 8.3.0 to 8.4.0
#26057
Comments
|
@mshima I tried your suggestions and they worked. It seems like we need to update our documentation because
IMHO, it seems like it's easier to remember |
Using global installation, they are equivalent:
migrate:
npx alternative can be simplified:
|
I just noticed another typo in the questions. Junit should be JUnit. |
Here's a PR to update the instructions: jhipster/jhipster.github.io#1346 |
We will need a new priority to make every backend generator to configure before client generators. |
@mraible is something missing? |
The upgrade instructions have been updated and other issues have been fixed, so I'll close this as resolved. |
Overview of the issue
I tried to use
npx jhipster upgrade
to upgrade my jhipster8-demo project from 8.3.0 to 8.4.0. I know I could use the migrate blueprint, but I figured it'd be good to test the upgrade instructions.The first time I tried it, the only thing the process changed was the
package-lock.json
file. It did not upgradepackage.json
to use 8.4.0 or modify any other files. I figured this might be caused by existing branches, so I deleted all the branches and tried again. The behavior is the same.Motivation for or Use Case
Our upgrade instructions should work. If
npx jhipster upgrade
is not working, we should recommend the migrate blueprint first.Reproduce the error
Related issues
#25033
Suggest a Fix
Update the documentation to recommend the migrate blueprint, change the
upgrade
command so it works.JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
Environment and Tools
openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode)
git version 2.39.3 (Apple Git-146)
node: v20.12.1
npm: 10.7.0
Docker version 26.0.0, build 2ae903e
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
The text was updated successfully, but these errors were encountered: