After upgrading to the newest version of WAV Dev Edition 2.4, I'd like to not have to recreate my apps. Is there a documented workflow or does esri not support this?
or another possibility Upgrade apps—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
You can import an existing app:
Create or import an app—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
Another option is to copy in your \server\apps folder from 2.3 to the 2.4
This will work for small version changed such as 2.3-2.4 but I do not think i will work in larger changes such as 1.x-2.0
I've tried upgrading but keep getting an invalid path error. Have you been able to use the upgrade console command?
One other thing to note is that I have a git repo in the web app builder installation directory.
Sorry. Wish I could say I've tried it, but I haven't yet. Just wanted to provide the other help doc. But Rickey's suggestion might actually work better.
I use the command line upgrade each time a new version is released for WAB. The only thing to remember is that you need to launch the command line window with elevated privileges (Run As Administrator).
Just to be sure I ran it again and received this error.
Question: Is it an absolute requirement to have WebAppBuilder run inside the directory that it is extracted into? How do you manage your git repo if this is the case since the repo has to be created in an empty directory?
No there is no requirement to have WAB run in the directory it was extracted to. I don't use git for version management, so I don't have any advice there.
Did you resolve this Invalid Path error? I am unable to upgrade from 2.7 to 2.8.
If you were following the upgrade documentation then you likely saw that the command line syntax listed in the help for the old version states, "Your previous version of the Web AppBuilder installation directory is similar to C:\arcgis-web-appbuilder-1.0". If you use this path you will receive the invalid path error. Try using C:\arcgis-web-appbuilder-2.7\WebAppBuilderForArcGIS instead.
Thank you so much for posting this - the missing WebAppBuilderForArcGIS caused my problem. Jianxia Song - it would be great if Esri could update this page https://developers.arcgis.com/web-appbuilder/guide/upgrade-apps.htm Not sure if updating that page is your thing, but maybe you can send the request to the right people. I didn't see a feedback button on the page.
What is the path that you are trying to use? I normally run the command prompt window as the administrator on the computer to avoid and permission issues.
From your command prompt screenshot it seems that your command has no "app id" after directory, according to the documentation guide . That's why you get this error i think.
Retrieving data ...