Update V14 error

Hi Dear,

I have an error update, some people say I need install “india complieance” ( I dont sure if its necesary for all version). I was install with this step (https://discuss.frappe.io/t/india-compliance-changes-to-branching-and-versioning/95783. I run on bench directory “Bench update” and get this error.
I thinks only have one solution. reinstall the apps. is this best option that somebody recomend! what do you thik?

Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-53-generic x86_64)

thank in advance

The issue isn’t in India Compliance, but the app that’s getting fetched after that. You can find the problematic app from the last entry in logs/bench.log

Thanks for you fast reponse, I looking for the log.

Maybe the problem is “frappe_meta_integration” but I dont sure.

"2023-01-28 01:40:16,649 WARNING shallow_clone is set in your bench config.
However without passing the --reset flag, your repositories will be unshallowed.
To avoid this, cancel this operation and run bench update --reset.

Consider the consequences of git reset --hard on your apps before you run that.
To avoid seeing this warning, set shallow_clone to false in your common_site_config.json

2023-01-28 01:40:39,948 DEBUG cd /home/ubuntu/frappe-bench/apps/frappe && git fetch upstream --unshallow
2023-01-28 01:40:44,800 LOG pulling frappe
2023-01-28 01:40:44,800 DEBUG cd /home/ubuntu/frappe-bench/apps/frappe && git pull upstream version-14
2023-01-28 01:40:45,132 DEBUG cd /home/ubuntu/frappe-bench/apps/frappe && find . -name “.pyc" -delete
2023-01-28 01:40:45,256 LOG pulling india-compliance
2023-01-28 01:40:45,257 DEBUG cd /home/ubuntu/frappe-bench/apps/india-compliance && git pull upstream version-14
2023-01-28 01:40:45,525 DEBUG cd /home/ubuntu/frappe-bench/apps/india-compliance && find . -name "
.pyc” -delete
2023-01-28 01:40:45,542 LOG pulling erpnext
2023-01-28 01:40:45,542 DEBUG cd /home/ubuntu/frappe-bench/apps/erpnext && git pull upstream version-14
2023-01-28 01:40:45,925 DEBUG cd /home/ubuntu/frappe-bench/apps/erpnext && find . -name “.pyc" -delete
2023-01-28 01:40:46,025 LOG pulling india_compliance
2023-01-28 01:40:46,025 DEBUG cd /home/ubuntu/frappe-bench/apps/india_compliance && git pull upstream version-14
2023-01-28 01:40:46,297 DEBUG cd /home/ubuntu/frappe-bench/apps/india_compliance && find . -name "
.pyc” -delete
2023-01-28 01:40:46,314 LOG pulling frappe_meta_integration
2023-01-28 01:40:46,314 DEBUG cd /home/ubuntu/frappe-bench/apps/frappe_meta_integration && git pull upstream master
2023-01-28 01:40:46,545 WARNING cd /home/ubuntu/frappe-bench/apps/frappe_meta_integration && git pull upstream master executed with exit code 1
2023-01-28 01:40:46,546 WARNING /usr/local/bin/bench update executed with exit code 1
2023-01-28 01:40:46,961 INFO A newer version of bench is available: 5.14.3 → 5.16.0
2023-01-28 01:52:08,408 INFO /usr/local/bin/bench enable-scheduler"

try it with
bench update --reset

You’re right. It is the frappe_meta_integration app. Specifically, the app no longer has a master branch. You can switch to a supported branch (e.g. develop) like so:

bench switch-to-branch develop frappe-meta-integration
1 Like

Hi @snv, I update teh branck to develop and it work fine.

But I try update with “bench update” and “bench update --reset” (@trentmu thank for this) but I have an error with india_compliance ( is this necesary only to india to tax and regulation? )
I get this error
" ERROR: [Errno 39] Directory not empty: ‘/home/ubuntu/frappe-bench/apps/india-compliance’ → ‘/home/ubuntu/frappe-bench/apps/india_compliance’ "

I follow other post this foro Fix error [Errno 39]. I uninstall india_compliance and update correctly to version:


thanks to both for your help!!!