-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Problem: Project backup files are not restored correctly #2227
Comments
Had the same issue. Fixed by manually adding the label in the NEW column "app" in the "project_template" table the correct app id (which is ansible) Edit: got this issue after an update |
This affects more than just variable modification. Semaphore fails to Run any/all Tasks in a restored project because Semaphore doesn't know what to execute: |
Yea got it working again after altering the db |
same here. Is there any quick solution? restoring project completely useless now. |
Same for me. Restore is not working anymore since 2.10 and the ability to launch different apps.
|
For me it was the browser cache, just try a different browser. |
Hello, And here's another way to present the issue : As mentioned earlier the Backup/Restore features are totally unusable right now. Thank you for supporting this project ! |
I encountered the same issue as I use an ansible task to create semaphore templates over the API. the missing key for that (and likely the restore) is @fiftin it would be great if you could do pre-check tests in your build tests like that. if you can create a template over the API and are able to RUN it it would be good indicator that both restore and the API act as expected?! for those who wanna know the quick and dirty fix:
|
Hi @steadfasterX, The backup functionality isn't working properly. I'm fixing it right now. |
Hi, This issue is resolved with the latest 2.10.30 release And for the long run it would be great to do the following as part of the release process:
Thank you very much for the fix @fiftin 🙏 |
Hi! On semaphoreUI v2.10.43, clicking on the project restore button does a GET on http://server:port/api/project/restore which results in a 404 error. It should be /api/projects/restore (projects plural instead of singular). |
Issue
Project backup files are not restored correctly. After importing the backup file, variables defined in the task templates have disappeared.
Recreating the variables in this template results in the following error: "Invalid app_id:"
Steps to reproduce
Impact
Other
Installation method
Docker
Database
Postgres
Browser
Microsoft Edge
Semaphore Version
v2.10.22-e44910d-1721658561
Ansible Version
No response
Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
Template before the backup
Template after importing the backup
The text was updated successfully, but these errors were encountered: