Hello,
we’ve tried to remove Pagemaster app, uninstall it and all possible but nothing helps and the update to version 11 fails. We do not necessarily need at all Pagemaster and in this case because this is a demo site, that we are using testing the update / upgrade, it is not a catastrophe if we loose some info.
How to get pass this situation?
The commands we have tried:
bench remove-from-installed-apps pagemaster
bench uninstall-app pagemaster
bench remove-app pagemaster
bench --site site1.local uninstall-app pagemaster
Tried both with the root user and frappe user. No difference.
Then have also tried to remove the app from the folder “apps”, moving it to the home folder:
mv pagemaster/ /home/
nano sites/apps.txt
=> edit and remove the “pagemaster” in the content
=> Save.
Install again and then remove:
bench --site site1.local install-app pagemaster
=> didn’t work either
INFO:bench.app:installing erpnext
INFO:bench.utils:./env/bin/pip install -q -e ./apps/erpnext
INFO:bench.app:installing pagemaster
INFO:bench.utils:./env/bin/pip install -q -e ./apps/pagemaster
Command “python setup.py egg_info” failed with error code 1 in /home/frappe/frappe-bench/apps/pagemaster/
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/.bench/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/frappe/.bench/bench/commands/update.py”, line 60, in update
_update(pull, patch, build, bench, auto, restart_supervisor, restart_systemd, requirements, no_backup, force=force, reset=reset)
File “/home/frappe/.bench/bench/commands/update.py”, line 76, in _update
update_requirements(bench_path=bench_path)
File “/home/frappe/.bench/bench/utils.py”, line 435, in update_requirements
install_app(app, bench_path=bench_path)
File “/home/frappe/.bench/bench/app.py”, line 171, in install_app
find_links=find_links))
File “/home/frappe/.bench/bench/utils.py”, line 159, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip install -q -e ./apps/pagemaster