rtCamp / Frappe-Manager

A CLI tool based on Docker Compose to easily manage Frappe based projects.
MIT License
87 stars 19 forks source link

Update command fails post migration #169

Closed dhsathiya closed 2 months ago

dhsathiya commented 2 months ago

Describe the bug Update command fails post migration

% fm update
❌ Error Occured  [Errno 2] No such file or directory: '/Users/devarshi/frappe/sites/apps.localhost/bench_config.toml'
🔍 More info about error is logged in /Users/devarshi/frappe/logs/fm.log

To Reproduce

Expected behavior There should be a bench_config.toml in the bench directory.

System information (please complete the following information):

Server: Docker Desktop 4.23.0 (120376) Engine: Version: 24.0.6 API version: 1.43 (minimum version 1.12) Go version: go1.20.7 Git commit: 1a79695 Built: Mon Sep 4 12:31:36 2023 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.6.22 GitCommit: 8165feabfdfe38c65b599c4993d227328c231fca runc: Version: 1.1.8 GitCommit: v1.1.8-0-g82f18fe docker-init: Version: 0.19.0 GitCommit: de40ad0


- [ ] `docker-compose version` or `docker compose version` `Docker Compose version v2.21.0-desktop.1`

**Attach log**
Provided over a private medium
Xieyt commented 2 months ago

As I can see in the logs this happened because of a bug in migration where the migration executor was not showing the user with the option to archive and rollback benches if any error occurred during migration of any bench.