Problème de mise à jour Dokos

Bonjour,

Je suis nouveau sur Dokos.

Je tente ce matin une mise à jour Dokos pour la première fois via la commande “bench update”, et j’obtient le message d’erreur ci-dessous. Je ne sais pas quoi faire. Je suis sur ubuntu 18.04.

Merci pour votre aide.

Bonne journée.

Richard.


erp@Erp:~/dokos-bench$ bench update
INFO:bench.utils:Updating bench
INFO:bench.utils:git pull
Already up to date.
INFO:bench.utils:Bench Updated!
warning: redirecting to https://gitlab.com/dokos/dodock.git/
warning: redirecting to https://gitlab.com/dokos/dodock.git/
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python3.6/site-packages (6.2.2)
Backing up sites…
INFO:bench.app:pulling frappe
INFO:bench.utils:git pull upstream master
warning: redirecting to https://gitlab.com/dokos/dodock.git/
From https://gitlab.com/dokos/dodock

  • branch master -> FETCH_HEAD
    Already up to date.
    INFO:bench.utils:find . -name “*.pyc” -delete
    INFO:bench.app:pulling erpnext
    INFO:bench.utils:git pull upstream master
    warning: redirecting to https://gitlab.com/dokos/dokos.git/
    From https://gitlab.com/dokos/dokos
  • branch master -> FETCH_HEAD
    Already up to date.
    INFO:bench.utils:find . -name “*.pyc” -delete
    Updating Python libraries…
    INFO:bench.utils:./env/bin/pip install -q -U pip
    INFO:bench.utils:/usr/bin/python3 -m pip install --user -q -U -r /home/erp/.bench/requirements.txt
    INFO:bench.app:installing frappe
    INFO:bench.utils:./env/bin/pip install -q -U -e ./apps/frappe
    ERROR: Cannot install frappe==1.5.2 and frontmatter==3.0.5 because these package versions have conflicting dependencies.ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 11, in
    load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
    File “/home/erp/.bench/bench/cli.py”, line 43, in cli
    bench_command()
    File “/usr/local/lib/python3.6/dist-packages/click/core.py”, line 764, in call
    return self.main(*args, **kwargs)
    File “/usr/local/lib/python3.6/dist-packages/click/core.py”, line 717, in main
    rv = self.invoke(ctx)
    File “/usr/local/lib/python3.6/dist-packages/click/core.py”, line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/usr/local/lib/python3.6/dist-packages/click/core.py”, line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/usr/local/lib/python3.6/dist-packages/click/core.py”, line 555, in invoke
    return callback(*args, **kwargs)
    File “/home/erp/.bench/bench/commands/update.py”, line 68, in update
    _update(pull, patch, build, bench, auto, restart_supervisor, restart_systemd, requirements, no_backup, force=force, reset=reset)
    File “/home/erp/.bench/bench/commands/update.py”, line 91, in _update
    update_requirements(bench_path=bench_path)
    File “/home/erp/.bench/bench/utils.py”, line 467, in update_requirements
    install_app(app, bench_path=bench_path)
    File “/home/erp/.bench/bench/app.py”, line 172, in install_app
    exec_cmd("{pip} install {quiet} -U -e {app} {no_cache}".format(pip=pip_path, quiet=quiet_flag, app=app_path, no_cache=cache_flag))
    File “/home/erp/.bench/bench/utils.py”, line 188, in exec_cmd
    raise CommandFailedError(cmd)
    bench.utils.CommandFailedError: ./env/bin/pip install -q -U -e ./apps/frappe

Bonjour Richard,

Bienvenue dans la communauté Dokos !

Effectivementun changement récent dans PIP empêchait la mise à jour.
J’ai fait passer une mise à jour mineure et testé sur Ubuntu 18.04, normalement en relançant bench update ça devrait fonctionner sans soucis désormais.

Bon week-end !

Merci beaucoup pour votre réponse rapide.

Ca fonctionne maintenant.

Bonne fin de week-end.