replacing version.json 2022.2 with version 2023.4 and run fetch the following message appeared:
> Running '/home/coder/project/alan fetch' in '/home/coder/project'
- 2/devenv/platform/2023.4
- 2/devenv/system-types/webclient/worf.13.1
- 2/devenv/system-types/sql-mirror/109.1
- 2/devenv/system-types/session-manager/26
- 2/devenv/system-types/image-http/15
- 2/devenv/system-types/relational-database-bridge/109
- 2/devenv/system-types/emailnotifier/24
- 2/devenv/system-types/datastore/111
- 2/devenv/system-types/connector/35.2
- 2/devenv/system-types/auto-webclient/worf.13
- 2/dataenv/platform/2023.4
tar: This does not look like a tar archive
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
tar exit code: 2
Fatal error[uncaught exception]: tar command failed
Alan has been upgraded. Please run your command again.
running build shows
> Running '/home/coder/project/alan build' in '/home/coder/project'
Compiling wiring
Failed to compile wiring: unable to load wiring
Model 'model'
/home/coder/project/models/model/application.alan:21:5 to 21:12 error: unexpected keyword `active:` while making a decision for stategroup 'has steps' of !'object path tail'. Options:
- keyword `&` for state 'yes'
- keyword `(` for state 'no'
- keyword `.` for state 'yes'
- keyword `.&` for state 'yes'
- keyword `<` for state 'yes'
- keyword `>` for state 'yes'
- keyword `?` for state 'yes'
- keyword `^` for state 'yes'
failed to compile: compiler failed
After changed all 2022.2 syntax to 2023.4 syntax
running build shows:
> Running '/home/coder/project/alan build' in '/home/coder/project'
Compiling wiring
Model 'model'
System 'server'
System 'sessions'
System 'client'
Successfully created /home/coder/project/dist/project.pkg
running deploy shows:
> Running '/home/coder/project/deploy.sh migrate' in '/home/coder/project'
Error: unable to determine last deployed version.
Did you change the application model during this platform upgrade in such a way that a migration is required? Or did you only update the syntax but keep the structure of the data intact?
If the answer to the last question is ‘Yes’, then you can fix it by doing this:
the answer to the last was indeed yes, running deploy shows now:
> Running '/home/coder/project/deploy.sh migrate' in '/home/coder/project'
- 2/devenv/platform/2023.4
- 2/devenv/system-types/webclient/worf.13.1
- 2/devenv/system-types/sql-mirror/109.1
- 2/devenv/system-types/session-manager/26
- 2/devenv/system-types/image-http/15
- 2/devenv/system-types/relational-database-bridge/109
- 2/devenv/system-types/emailnotifier/24
- 2/devenv/system-types/datastore/111
- 2/devenv/system-types/connector/35.2
- 2/devenv/system-types/auto-webclient/worf.13
Done
Compiling wiring
Model 'model'
System 'server'
System 'sessions'
System 'client'
Successfully created /home/coder/project/dist/project.pkg
/home/coder/project/deploy.sh: line 22: .alan/dataenv/platform/project-compiler/tools/compiler-project: No such file or directory
the last line shows now: No such file or directory
This file has changed between platform versions, the newer version is only available for newly created accounts (which are already on 2023.4). I have updated the file in your project. Can you try it again?