FitTrackee (update)
-
Upgrade OS.
... Les paquets suivants seront mis à jour : base-files bash bind9-dnsutils bind9-host bind9-libs busybox criu curl dirmngr distro-info-data docker.io e2fsprogs gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv init init-system-helpers intel-microcode krb5-locales libaom3 libbpf1 libc-bin libc-dev-bin libc-devtools libc-l10n libc6 libc6-dev libcap2 libcap2-bin libcom-err2 libcurl3-gnutls libcurl3-nss libcurl4 libexpat1 libexpat1-dev libext2fs2 libglib2.0-0 libglib2.0-data libgssapi-krb5-2 libjson-xs-perl libk5crypto3 libkrb5-3 libkrb5support0 libnss-systemd libpam-systemd libperl5.36 libpq-dev libpq5 libsqlite3-0 libsqlite3-dev libss2 libssl-dev libssl3 libsystemd-shared libsystemd0 libtiff6 libudev1 libunbound8 libxml2 libxml2-dev libxslt1-dev libxslt1.1 linux-libc-dev locales logsave openssl perl perl-base perl-modules-5.36 postgresql postgresql-15 postgresql-client-15 postgresql-client-common postgresql-common python3-jinja2 python3-pkg-resources python3-setuptools python3-setuptools-whl qemu-guest-agent redis redis-server redis-tools systemd systemd-sysv systemd-timesyncd tini tzdata udev ... Warning: The unit file, source configuration file or drop-ins of postgresql@15-main.service changed on disk. Run 'systemctl daemon-reload' to reload units. .... -
Mise à jours :
# systemctl stop fittrackee # pip install -U fittrackee Collecting fittrackee Downloading fittrackee-1.0.2-py3-none-any.whl.metadata (6.6 kB) ... Downloading fittrackee-1.0.2-py3-none-any.whl (5.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 51.9 MB/s eta 0:00:00 ... Collecting pip Downloading pip-25.3-py3-none-any.whl.metadata (4.7 kB) Downloading pip-25.3-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 15.2 MB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 25.1.1 Uninstalling pip-25.1.1: Successfully uninstalled pip-25.1.1 Successfully installed pip-25.3 ... # pip install -U fittrackee # ftcli db upgrade # ftcli workouts refresh --add-missing-geometry --per-page 1000 -v ... ( très long ) ... Refreshing workout 950/950... Refresh done: - updated workouts: 950 - errored workouts: 0 Done. # systemctl start fittrackee ... -
Mise à jours : FitTrackee v1.0.5
-
Mise à jours : FitTrackee v1.1.0
-
# systemctl stop fittrackee # deactivate # source fittrackee_venv/bin/activate # pip install -U fittrackee # pip install --upgrade pip # ftcli db upgrade KeyError: 'UI_URL' # systemctl start fittrackee -
# systemctl stop fittrackee # source /root/Python-3.13.5/fittrackee/fittrackee_venv/bin/activate # pip install --upgrade pip # pip install -U fittrackee # ftcli db upgrade # systemctl start fittrackee -
Mise à jours en version 1.2.2.
A noter que j’ai fait :
# apt-get install libmagic1 # pip install python-magic # ftcli db upgrade # systemctl start fittrackee -
Mise à jours en version
# systemctl stop fittrackee # source /root/Python-3.13.5/fittrackee/fittrackee_venv/bin/activate # pip install --upgrade pip # pip install -U fittrackee # ftcli db upgrade INFO [alembic.runtime.migration] Context impl PostgresqlImpl. INFO [alembic.runtime.migration] Will assume transactional DDL. INFO [alembic.runtime.migration] Running upgrade 84394acbebcf -> c9d5209ffbcd, add media INFO [alembic.runtime.migration] Running upgrade c9d5209ffbcd -> c3ff5858c112, update equipment description INFO [alembic.runtime.migration] Running upgrade c3ff5858c112 -> 3d0c336b7a9e, update bio max limit to 500 characters # systemctl start fittrackee -
J’ai une erreur :
AttributeError: 'Image' object has no attribute 'get_flattened_data' -
Pour fixer le problème j’ai fait :
$ pip install --upgrade Pillow Requirement already satisfied: Pillow in ./fittrackee_venv/lib/python3.11/site-packages (11.3.0) Collecting Pillow Downloading pillow-12.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (8.8 kB) Downloading pillow-12.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.1/7.1 MB 11.7 MB/s 0:00:00 Installing collected packages: Pillow Attempting uninstall: Pillow Found existing installation: pillow 11.3.0 Uninstalling pillow-11.3.0: Successfully uninstalled pillow-11.3.0
Bonjour ! Vous semblez intéressé par cette conversation, mais vous n’avez pas encore de compte.
Marre de refaire défiler les mêmes messages ? Créez un compte pour retrouver votre position, recevoir des notifications des nouvelles réponses, sauvegarder vos favoris et voter pour les messages que vous appréciez.
Grâce à votre participation, ce message peut devenir encore meilleur 💗
S'inscrire Se connecter