Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffsync: Migrate to Python 3.12 #6429

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mreid-tt
Copy link
Contributor

@mreid-tt mreid-tt commented Jan 27, 2025

Description

This PR includes the following:

  1. Migrate to Python 3.12

Fixes #

Checklist

  • Build rule all-supported completed successfully
  • New installation of package completed successfully
  • Package upgrade completed successfully (Manually install the package again)
  • Package functionality was tested
  • Any needed documentation is updated/created

Type of change

  • Package update

@mreid-tt
Copy link
Contributor Author

Install and update seem to be successful on DSM 6:

Install Log
2025/01/27 18:05:06	install ffsync 0.18.2-5 Begin preinst
2025/01/27 18:05:06	Begin initialize_variables
2025/01/27 18:05:06	End initialize_variables
2025/01/27 18:05:06	===> Step preinst. STATUS=INSTALL USER=ffsync GROUP= SHARE_PATH=
2025/01/27 18:05:06	Begin validate_preinst
2025/01/27 18:05:06	End validate_preinst
2025/01/27 18:05:06	install ffsync 0.18.2-5 End preinst ret=[0]
2025/01/27 18:05:06	install ffsync 0.18.2-5 Begin /bin/rm -rf /volume1/@appstore/ffsync
2025/01/27 18:05:06	install ffsync 0.18.2-5 End /bin/rm -rf /volume1/@appstore/ffsync ret=[0]
2025/01/27 18:05:06	install ffsync 0.18.2-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/ffsync
2025/01/27 18:05:06	install ffsync 0.18.2-5 End /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/ffsync ret=[0]
2025/01/27 18:05:06	install ffsync 0.18.2-5 Begin /bin/rm -rf /var/packages/ffsync
2025/01/27 18:05:06	install ffsync 0.18.2-5 End /bin/rm -rf /var/packages/ffsync ret=[0]
2025/01/27 18:05:07	install ffsync 0.18.2-5 Begin /bin/mkdir -p /var/packages/ffsync
2025/01/27 18:05:07	install ffsync 0.18.2-5 End /bin/mkdir -p /var/packages/ffsync ret=[0]
2025/01/27 18:05:07	install ffsync 0.18.2-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/ffsync/INFO
2025/01/27 18:05:07	install ffsync 0.18.2-5 End /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/ffsync/INFO ret=[0]
2025/01/27 18:05:07	install ffsync 0.18.2-5 Begin /bin/rm -rf /var/packages/ffsync/scripts
2025/01/27 18:05:07	install ffsync 0.18.2-5 End /bin/rm -rf /var/packages/ffsync/scripts ret=[0]
2025/01/27 18:05:07	install ffsync 0.18.2-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/ffsync/scripts
2025/01/27 18:05:07	install ffsync 0.18.2-5 End /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/ffsync/scripts ret=[0]
2025/01/27 18:05:07	install ffsync 0.18.2-5 Begin /bin/rm -rf /var/packages/ffsync/WIZARD_UIFILES
2025/01/27 18:05:07	install ffsync 0.18.2-5 End /bin/rm -rf /var/packages/ffsync/WIZARD_UIFILES ret=[0]
2025/01/27 18:05:07	install ffsync 0.18.2-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/WIZARD_UIFILES /var/packages/ffsync/WIZARD_UIFILES
2025/01/27 18:05:07	install ffsync 0.18.2-5 End /bin/mv -f /volume1/@tmp/pkginstall/WIZARD_UIFILES /var/packages/ffsync/WIZARD_UIFILES ret=[0]
2025/01/27 18:05:07	install ffsync 0.18.2-5 Begin /bin/rm -rf /var/packages/ffsync/conf
2025/01/27 18:05:07	install ffsync 0.18.2-5 End /bin/rm -rf /var/packages/ffsync/conf ret=[0]
2025/01/27 18:05:07	install ffsync 0.18.2-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/ffsync/conf
2025/01/27 18:05:07	install ffsync 0.18.2-5 End /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/ffsync/conf ret=[0]
2025/01/27 18:05:11	install ffsync 0.18.2-5 Begin postinst
2025/01/27 18:05:11	Begin initialize_variables
2025/01/27 18:05:11	End initialize_variables
2025/01/27 18:05:11	===> Step postinst. STATUS=INSTALL USER=ffsync GROUP= SHARE_PATH=
2025/01/27 18:05:11	Begin save_wizard_variables
2025/01/27 18:05:11	End save_wizard_variables
2025/01/27 18:05:11	Begin service_postinst
2025/01/27 18:05:11	Install Python virtual environment
2025/01/27 18:05:11	Python 3.12.8
2025/01/27 18:05:13	Default pip version 24.3.1
2025/01/27 18:05:29	Granting 'sc-ffsync' unix ownership on /volume1/@appstore/ffsync/env
2025/01/27 18:05:30	====================================================
2025/01/27 18:05:30	Install packages from wheelhouse
2025/01/27 18:05:32	Processing /volume1/@appstore/ffsync/share/wheelhouse/PyBrowserID-0.14.0-py3-none-any.whl
2025/01/27 18:05:32	Processing /volume1/@appstore/ffsync/share/wheelhouse/PyFxA-0.7.7-py2.py3-none-any.whl
2025/01/27 18:05:32	Processing /volume1/@appstore/ffsync/share/wheelhouse/SQLAlchemy-1.4.46-cp312-cp312-linux_x86_64.whl
2025/01/27 18:05:32	Processing /volume1/@appstore/ffsync/share/wheelhouse/cffi-1.17.1-cp312-cp312-linux_x86_64.whl
2025/01/27 18:05:32	Processing /volume1/@appstore/ffsync/share/wheelhouse/charset_normalizer-3.4.1-py3-none-any.whl
2025/01/27 18:05:32	Processing /volume1/@appstore/ffsync/share/wheelhouse/cryptography-42.0.8-cp312-cp312-linux_x86_64.whl
2025/01/27 18:05:32	Processing /volume1/@appstore/ffsync/share/wheelhouse/greenlet-3.0.3-cp312-cp312-linux_x86_64.whl
2025/01/27 18:05:32	Processing /volume1/@appstore/ffsync/share/wheelhouse/mysqlclient-2.1.1-cp312-cp312-linux_x86_64.whl
2025/01/27 18:05:32	Processing /volume1/@appstore/ffsync/share/wheelhouse/zope.interface-7.2-cp312-cp312-linux_x86_64.whl
2025/01/27 18:05:32	Installing collected packages: PyFxA, PyBrowserID, zope.interface, SQLAlchemy, mysqlclient, greenlet, cryptography, charset-normalizer, cffi
2025/01/27 18:05:49	Successfully installed PyBrowserID-0.14.0 PyFxA-0.7.7 SQLAlchemy-1.4.46 cffi-1.17.1 charset-normalizer-3.4.1 cryptography-42.0.8 greenlet-3.0.3 mysqlclient-2.1.1 zope.interface-7.2
2025/01/27 18:05:49	====================================================
2025/01/27 18:05:49	Install pure python packages from index
2025/01/27 18:05:52	Collecting PasteDeploy==3.1.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 1))
2025/01/27 18:05:52	  Using cached PasteDeploy-3.1.0-py3-none-any.whl.metadata (2.7 kB)
2025/01/27 18:05:53	Collecting PyJWT==2.10.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 2))
2025/01/27 18:05:54	  Downloading PyJWT-2.10.1-py3-none-any.whl.metadata (4.0 kB)
2025/01/27 18:05:54	Collecting WebOb==1.8.9 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 3))
2025/01/27 18:05:54	  Downloading WebOb-1.8.9-py2.py3-none-any.whl.metadata (11 kB)
2025/01/27 18:05:56	Collecting backoff==2.2.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 4))
2025/01/27 18:05:56	  Using cached backoff-2.2.1-py3-none-any.whl.metadata (14 kB)
2025/01/27 18:05:56	Collecting boto==2.49.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 5))
2025/01/27 18:05:56	  Using cached boto-2.49.0-py2.py3-none-any.whl.metadata (7.3 kB)
2025/01/27 18:05:57	Collecting datadog==0.50.2 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 6))
2025/01/27 18:05:57	  Downloading datadog-0.50.2-py2.py3-none-any.whl.metadata (10 kB)
2025/01/27 18:05:58	Collecting hawkauthlib==2.0.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 7))
2025/01/27 18:05:58	  Using cached hawkauthlib-2.0.0-py2.py3-none-any.whl.metadata (4.5 kB)
2025/01/27 18:05:58	Collecting hupper==1.12.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 8))
2025/01/27 18:05:58	  Using cached hupper-1.12.1-py3-none-any.whl.metadata (3.7 kB)
2025/01/27 18:05:59	Collecting idna==3.10 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 9))
2025/01/27 18:05:59	  Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
2025/01/27 18:06:00	Collecting plaster==1.1.2 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 10))
2025/01/27 18:06:00	  Using cached plaster-1.1.2-py2.py3-none-any.whl.metadata (6.4 kB)
2025/01/27 18:06:00	Collecting plaster_pastedeploy==1.0.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 11))
2025/01/27 18:06:00	  Using cached plaster_pastedeploy-1.0.1-py2.py3-none-any.whl.metadata (8.1 kB)
2025/01/27 18:06:00	Collecting pycparser==2.22 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 12))
2025/01/27 18:06:01	  Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
2025/01/27 18:06:01	Collecting pyramid==2.0.2 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 13))
2025/01/27 18:06:02	  Using cached pyramid-2.0.2-py3-none-any.whl.metadata (20 kB)
2025/01/27 18:06:02	Collecting requests==2.32.3 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 14))
2025/01/27 18:06:02	  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
2025/01/27 18:06:03	Collecting testfixtures==8.3.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 15))
2025/01/27 18:06:03	  Using cached testfixtures-8.3.0-py3-none-any.whl.metadata (3.0 kB)
2025/01/27 18:06:03	Collecting tokenlib==2.0.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 16))
2025/01/27 18:06:03	  Using cached tokenlib-2.0.0-py2.py3-none-any.whl.metadata (3.3 kB)
2025/01/27 18:06:04	Collecting translationstring==1.4 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 17))
2025/01/27 18:06:04	  Using cached translationstring-1.4-py2.py3-none-any.whl.metadata (4.1 kB)
2025/01/27 18:06:04	Collecting urllib3==2.3.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 18))
2025/01/27 18:06:05	  Downloading urllib3-2.3.0-py3-none-any.whl.metadata (6.5 kB)
2025/01/27 18:06:05	Collecting venusian==3.1.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 19))
2025/01/27 18:06:06	  Downloading venusian-3.1.1-py3-none-any.whl.metadata (10 kB)
2025/01/27 18:06:06	Collecting zope.deprecation==5.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 20))
2025/01/27 18:06:06	  Downloading zope.deprecation-5.1-py3-none-any.whl.metadata (5.2 kB)
2025/01/27 18:06:07	Using cached PasteDeploy-3.1.0-py3-none-any.whl (16 kB)
2025/01/27 18:06:07	Downloading PyJWT-2.10.1-py3-none-any.whl (22 kB)
2025/01/27 18:06:08	Downloading WebOb-1.8.9-py2.py3-none-any.whl (115 kB)
2025/01/27 18:06:09	Using cached backoff-2.2.1-py3-none-any.whl (15 kB)
2025/01/27 18:06:09	Using cached boto-2.49.0-py2.py3-none-any.whl (1.4 MB)
2025/01/27 18:06:09	Downloading datadog-0.50.2-py2.py3-none-any.whl (119 kB)
2025/01/27 18:06:11	Using cached hawkauthlib-2.0.0-py2.py3-none-any.whl (32 kB)
2025/01/27 18:06:11	Using cached hupper-1.12.1-py3-none-any.whl (22 kB)
2025/01/27 18:06:11	Downloading idna-3.10-py3-none-any.whl (70 kB)
2025/01/27 18:06:12	Using cached plaster-1.1.2-py2.py3-none-any.whl (11 kB)
2025/01/27 18:06:12	Using cached plaster_pastedeploy-1.0.1-py2.py3-none-any.whl (7.8 kB)
2025/01/27 18:06:12	Downloading pycparser-2.22-py3-none-any.whl (117 kB)
2025/01/27 18:06:13	Using cached pyramid-2.0.2-py3-none-any.whl (247 kB)
2025/01/27 18:06:13	Using cached requests-2.32.3-py3-none-any.whl (64 kB)
2025/01/27 18:06:13	Using cached testfixtures-8.3.0-py3-none-any.whl (105 kB)
2025/01/27 18:06:13	Using cached tokenlib-2.0.0-py2.py3-none-any.whl (18 kB)
2025/01/27 18:06:13	Using cached translationstring-1.4-py2.py3-none-any.whl (15 kB)
2025/01/27 18:06:14	Downloading urllib3-2.3.0-py3-none-any.whl (128 kB)
2025/01/27 18:06:14	Downloading venusian-3.1.1-py3-none-any.whl (14 kB)
2025/01/27 18:06:15	Downloading zope.deprecation-5.1-py3-none-any.whl (10 kB)
2025/01/27 18:06:16	Installing collected packages: translationstring, tokenlib, hawkauthlib, boto, zope.deprecation, WebOb, venusian, urllib3, testfixtures, requests, pyramid, PyJWT, pycparser, plaster_pastedeploy, plaster, PasteDeploy, idna, hupper, datadog, backoff
2025/01/27 18:06:37	Successfully installed PasteDeploy-3.1.0 PyJWT-2.10.1 WebOb-1.8.9 backoff-2.2.1 boto-2.49.0 datadog-0.50.2 hawkauthlib-2.0.0 hupper-1.12.1 idna-3.10 plaster-1.1.2 plaster_pastedeploy-1.0.1 pycparser-2.22 pyramid-2.0.2 requests-2.32.3 testfixtures-8.3.0 tokenlib-2.0.0 translationstring-1.4 urllib3-2.3.0 venusian-3.1.1 zope.deprecation-5.1
2025/01/27 18:06:38	====================================================
2025/01/27 18:06:38	Set up the databases
2025/01/27 18:06:38	====================================================
2025/01/27 18:06:38	Run database migrations
2025/01/27 18:06:38	Run migrations for syncstorage_rs
2025/01/27 18:06:40	Running migration 2018-08-28-010336_init
2025/01/27 18:06:55	Running migration 2019-09-11-164500
2025/01/27 18:06:59	Running migration 2019-09-25-174347_min_collection_id
2025/01/27 18:06:59	Running migration 2020-04-03-102015_change_userid
2025/01/27 18:07:26	Running migration 2020-06-12-231034_new_batch
2025/01/27 18:07:40	Running migration 2020-08-24-091401_add_quota
2025/01/27 18:07:42	Run migrations for tokenserver_rs
2025/01/27 18:07:46	Running migration 2021-07-16-001122_init
2025/01/27 18:08:00	Running migration 2021-08-03-234845_populate_services
2025/01/27 18:08:00	Running migration 2021-09-30-142643_remove_foreign_key_constraints
2025/01/27 18:08:03	Running migration 2021-09-30-142654_remove_node_defaults
2025/01/27 18:08:04	Running migration 2021-09-30-142746_add_indexes
2025/01/27 18:08:19	Running migration 2021-09-30-144043_remove_nodes_service_key
2025/01/27 18:08:21	Running migration 2021-09-30-144225_remove_users_nodeid_key
2025/01/27 18:08:22	Running migration 2021-12-22-160451_remove_services
2025/01/27 18:08:22	====================================================
2025/01/27 18:08:22	Add sync endpoint to database
2025/01/27 18:08:22	Add syncserver node
2025/01/27 18:08:23	====================================================
2025/01/27 18:08:23	Setup syncserver config file
2025/01/27 18:08:23	End service_postinst
2025/01/27 18:08:23	Granting 'sc-ffsync' unix ownership on /volume1/@appstore/ffsync/var
2025/01/27 18:08:23	install ffsync 0.18.2-5 End postinst ret=[0]
2025/01/27 18:08:23	install ffsync 0.18.2-5 Begin /bin/rm -rf /volume1/@tmp/pkginstall
2025/01/27 18:08:23	install ffsync 0.18.2-5 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0]
2025/01/27 18:08:27	install ffsync 0.18.2-5 Begin start-stop-status start
2025/01/27 18:08:27	install ffsync 0.18.2-5 End start-stop-status start ret=[0]
Upgrade Log
2025/01/27 18:10:53	upgrade ffsync 0.18.2-5 Begin start-stop-status stop
2025/01/27 18:10:54	upgrade ffsync 0.18.2-5 End start-stop-status stop ret=[0]
2025/01/27 18:10:56	upgrade ffsync 0.18.2-5 Begin preupgrade
2025/01/27 18:10:56	Begin initialize_variables
2025/01/27 18:10:56	End initialize_variables
2025/01/27 18:10:56	===> Step preupgrade. STATUS=UPGRADE USER=ffsync GROUP= SHARE_PATH=
2025/01/27 18:10:56	upgrade ffsync 0.18.2-5 End preupgrade ret=[0]
2025/01/27 18:10:56	upgrade ffsync 0.18.2-5 Begin preuninst
2025/01/27 18:10:56	Begin initialize_variables
2025/01/27 18:10:56	End initialize_variables
2025/01/27 18:10:56	===> Step preuninst. STATUS=UPGRADE USER=ffsync GROUP= SHARE_PATH=
2025/01/27 18:10:56	Begin validate_preuninst
2025/01/27 18:10:56	End validate_preuninst
2025/01/27 18:10:56	upgrade ffsync 0.18.2-5 End preuninst ret=[0]
2025/01/27 18:10:56	upgrade ffsync 0.18.2-5 Begin /bin/rm -rf /volume1/@appstore/ffsync
2025/01/27 18:10:57	upgrade ffsync 0.18.2-5 End /bin/rm -rf /volume1/@appstore/ffsync ret=[0]
2025/01/27 18:10:57	upgrade ffsync 0.18.2-5 Begin postuninst
2025/01/27 18:10:57	Begin initialize_variables
2025/01/27 18:10:57	End initialize_variables
2025/01/27 18:10:57	===> Step postuninst. STATUS=UPGRADE USER=ffsync GROUP= SHARE_PATH=
2025/01/27 18:10:57	Begin service_postuninst
2025/01/27 18:10:57	End service_postuninst
2025/01/27 18:10:57	upgrade ffsync 0.18.2-5 End postuninst ret=[0]
2025/01/27 18:10:58	upgrade ffsync 0.18.2-5 Begin preinst
2025/01/27 18:10:58	Begin initialize_variables
2025/01/27 18:10:58	End initialize_variables
2025/01/27 18:10:58	===> Step preinst. STATUS=UPGRADE USER=ffsync GROUP= SHARE_PATH=
2025/01/27 18:10:58	Begin validate_preinst
2025/01/27 18:10:58	End validate_preinst
2025/01/27 18:10:58	upgrade ffsync 0.18.2-5 End preinst ret=[0]
2025/01/27 18:10:58	upgrade ffsync 0.18.2-5 Begin /bin/rm -rf /volume1/@appstore/ffsync
2025/01/27 18:10:58	upgrade ffsync 0.18.2-5 End /bin/rm -rf /volume1/@appstore/ffsync ret=[0]
2025/01/27 18:10:58	upgrade ffsync 0.18.2-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/ffsync
2025/01/27 18:10:58	upgrade ffsync 0.18.2-5 End /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/ffsync ret=[0]
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 Begin /bin/mkdir -p /var/packages/ffsync
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 End /bin/mkdir -p /var/packages/ffsync ret=[0]
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/ffsync/INFO
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 End /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/ffsync/INFO ret=[0]
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 Begin /bin/rm -rf /var/packages/ffsync/scripts
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 End /bin/rm -rf /var/packages/ffsync/scripts ret=[0]
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/ffsync/scripts
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 End /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/ffsync/scripts ret=[0]
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 Begin /bin/rm -rf /var/packages/ffsync/WIZARD_UIFILES
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 End /bin/rm -rf /var/packages/ffsync/WIZARD_UIFILES ret=[0]
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/WIZARD_UIFILES /var/packages/ffsync/WIZARD_UIFILES
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 End /bin/mv -f /volume1/@tmp/pkginstall/WIZARD_UIFILES /var/packages/ffsync/WIZARD_UIFILES ret=[0]
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 Begin /bin/rm -rf /var/packages/ffsync/conf
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 End /bin/rm -rf /var/packages/ffsync/conf ret=[0]
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/ffsync/conf
2025/01/27 18:10:59	upgrade ffsync 0.18.2-5 End /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/ffsync/conf ret=[0]
2025/01/27 18:11:03	upgrade ffsync 0.18.2-5 Begin postinst
2025/01/27 18:11:03	Begin initialize_variables
2025/01/27 18:11:03	End initialize_variables
2025/01/27 18:11:03	===> Step postinst. STATUS=UPGRADE USER=ffsync GROUP= SHARE_PATH=
2025/01/27 18:11:03	Begin save_wizard_variables
2025/01/27 18:11:03	End save_wizard_variables
2025/01/27 18:11:03	Begin service_postinst
2025/01/27 18:11:03	Install Python virtual environment
2025/01/27 18:11:03	Python 3.12.8
2025/01/27 18:11:04	Default pip version 24.3.1
2025/01/27 18:11:20	Granting 'sc-ffsync' unix ownership on /volume1/@appstore/ffsync/env
2025/01/27 18:11:21	====================================================
2025/01/27 18:11:21	Install packages from wheelhouse
2025/01/27 18:11:23	Processing /volume1/@appstore/ffsync/share/wheelhouse/PyBrowserID-0.14.0-py3-none-any.whl
2025/01/27 18:11:23	Processing /volume1/@appstore/ffsync/share/wheelhouse/PyFxA-0.7.7-py2.py3-none-any.whl
2025/01/27 18:11:23	Processing /volume1/@appstore/ffsync/share/wheelhouse/SQLAlchemy-1.4.46-cp312-cp312-linux_x86_64.whl
2025/01/27 18:11:23	Processing /volume1/@appstore/ffsync/share/wheelhouse/cffi-1.17.1-cp312-cp312-linux_x86_64.whl
2025/01/27 18:11:23	Processing /volume1/@appstore/ffsync/share/wheelhouse/charset_normalizer-3.4.1-py3-none-any.whl
2025/01/27 18:11:23	Processing /volume1/@appstore/ffsync/share/wheelhouse/cryptography-42.0.8-cp312-cp312-linux_x86_64.whl
2025/01/27 18:11:23	Processing /volume1/@appstore/ffsync/share/wheelhouse/greenlet-3.0.3-cp312-cp312-linux_x86_64.whl
2025/01/27 18:11:23	Processing /volume1/@appstore/ffsync/share/wheelhouse/mysqlclient-2.1.1-cp312-cp312-linux_x86_64.whl
2025/01/27 18:11:23	Processing /volume1/@appstore/ffsync/share/wheelhouse/zope.interface-7.2-cp312-cp312-linux_x86_64.whl
2025/01/27 18:11:23	Installing collected packages: PyFxA, PyBrowserID, zope.interface, SQLAlchemy, mysqlclient, greenlet, cryptography, charset-normalizer, cffi
2025/01/27 18:11:40	Successfully installed PyBrowserID-0.14.0 PyFxA-0.7.7 SQLAlchemy-1.4.46 cffi-1.17.1 charset-normalizer-3.4.1 cryptography-42.0.8 greenlet-3.0.3 mysqlclient-2.1.1 zope.interface-7.2
2025/01/27 18:11:41	====================================================
2025/01/27 18:11:41	Install pure python packages from index
2025/01/27 18:11:44	Collecting PasteDeploy==3.1.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 1))
2025/01/27 18:11:44	  Using cached PasteDeploy-3.1.0-py3-none-any.whl.metadata (2.7 kB)
2025/01/27 18:11:44	Collecting PyJWT==2.10.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 2))
2025/01/27 18:11:44	  Using cached PyJWT-2.10.1-py3-none-any.whl.metadata (4.0 kB)
2025/01/27 18:11:45	Collecting WebOb==1.8.9 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 3))
2025/01/27 18:11:45	  Using cached WebOb-1.8.9-py2.py3-none-any.whl.metadata (11 kB)
2025/01/27 18:11:45	Collecting backoff==2.2.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 4))
2025/01/27 18:11:45	  Using cached backoff-2.2.1-py3-none-any.whl.metadata (14 kB)
2025/01/27 18:11:46	Collecting boto==2.49.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 5))
2025/01/27 18:11:46	  Using cached boto-2.49.0-py2.py3-none-any.whl.metadata (7.3 kB)
2025/01/27 18:11:46	Collecting datadog==0.50.2 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 6))
2025/01/27 18:11:46	  Using cached datadog-0.50.2-py2.py3-none-any.whl.metadata (10 kB)
2025/01/27 18:11:47	Collecting hawkauthlib==2.0.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 7))
2025/01/27 18:11:47	  Using cached hawkauthlib-2.0.0-py2.py3-none-any.whl.metadata (4.5 kB)
2025/01/27 18:11:47	Collecting hupper==1.12.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 8))
2025/01/27 18:11:47	  Using cached hupper-1.12.1-py3-none-any.whl.metadata (3.7 kB)
2025/01/27 18:11:48	Collecting idna==3.10 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 9))
2025/01/27 18:11:48	  Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
2025/01/27 18:11:48	Collecting plaster==1.1.2 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 10))
2025/01/27 18:11:48	  Using cached plaster-1.1.2-py2.py3-none-any.whl.metadata (6.4 kB)
2025/01/27 18:11:49	Collecting plaster_pastedeploy==1.0.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 11))
2025/01/27 18:11:49	  Using cached plaster_pastedeploy-1.0.1-py2.py3-none-any.whl.metadata (8.1 kB)
2025/01/27 18:11:49	Collecting pycparser==2.22 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 12))
2025/01/27 18:11:49	  Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
2025/01/27 18:11:50	Collecting pyramid==2.0.2 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 13))
2025/01/27 18:11:50	  Using cached pyramid-2.0.2-py3-none-any.whl.metadata (20 kB)
2025/01/27 18:11:50	Collecting requests==2.32.3 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 14))
2025/01/27 18:11:50	  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
2025/01/27 18:11:51	Collecting testfixtures==8.3.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 15))
2025/01/27 18:11:51	  Using cached testfixtures-8.3.0-py3-none-any.whl.metadata (3.0 kB)
2025/01/27 18:11:51	Collecting tokenlib==2.0.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 16))
2025/01/27 18:11:51	  Using cached tokenlib-2.0.0-py2.py3-none-any.whl.metadata (3.3 kB)
2025/01/27 18:11:51	Collecting translationstring==1.4 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 17))
2025/01/27 18:11:51	  Using cached translationstring-1.4-py2.py3-none-any.whl.metadata (4.1 kB)
2025/01/27 18:11:52	Collecting urllib3==2.3.0 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 18))
2025/01/27 18:11:52	  Using cached urllib3-2.3.0-py3-none-any.whl.metadata (6.5 kB)
2025/01/27 18:11:52	Collecting venusian==3.1.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 19))
2025/01/27 18:11:52	  Using cached venusian-3.1.1-py3-none-any.whl.metadata (10 kB)
2025/01/27 18:11:53	Collecting zope.deprecation==5.1 (from -r /volume1/@appstore/ffsync/share/wheelhouse/requirements-pure.txt (line 20))
2025/01/27 18:11:53	  Using cached zope.deprecation-5.1-py3-none-any.whl.metadata (5.2 kB)
2025/01/27 18:11:53	Using cached PasteDeploy-3.1.0-py3-none-any.whl (16 kB)
2025/01/27 18:11:53	Using cached PyJWT-2.10.1-py3-none-any.whl (22 kB)
2025/01/27 18:11:53	Using cached WebOb-1.8.9-py2.py3-none-any.whl (115 kB)
2025/01/27 18:11:53	Using cached backoff-2.2.1-py3-none-any.whl (15 kB)
2025/01/27 18:11:53	Using cached boto-2.49.0-py2.py3-none-any.whl (1.4 MB)
2025/01/27 18:11:53	Using cached datadog-0.50.2-py2.py3-none-any.whl (119 kB)
2025/01/27 18:11:53	Using cached hawkauthlib-2.0.0-py2.py3-none-any.whl (32 kB)
2025/01/27 18:11:53	Using cached hupper-1.12.1-py3-none-any.whl (22 kB)
2025/01/27 18:11:53	Using cached idna-3.10-py3-none-any.whl (70 kB)
2025/01/27 18:11:53	Using cached plaster-1.1.2-py2.py3-none-any.whl (11 kB)
2025/01/27 18:11:53	Using cached plaster_pastedeploy-1.0.1-py2.py3-none-any.whl (7.8 kB)
2025/01/27 18:11:53	Using cached pycparser-2.22-py3-none-any.whl (117 kB)
2025/01/27 18:11:53	Using cached pyramid-2.0.2-py3-none-any.whl (247 kB)
2025/01/27 18:11:53	Using cached requests-2.32.3-py3-none-any.whl (64 kB)
2025/01/27 18:11:53	Using cached testfixtures-8.3.0-py3-none-any.whl (105 kB)
2025/01/27 18:11:53	Using cached tokenlib-2.0.0-py2.py3-none-any.whl (18 kB)
2025/01/27 18:11:53	Using cached translationstring-1.4-py2.py3-none-any.whl (15 kB)
2025/01/27 18:11:53	Using cached urllib3-2.3.0-py3-none-any.whl (128 kB)
2025/01/27 18:11:53	Using cached venusian-3.1.1-py3-none-any.whl (14 kB)
2025/01/27 18:11:53	Using cached zope.deprecation-5.1-py3-none-any.whl (10 kB)
2025/01/27 18:11:53	Installing collected packages: translationstring, tokenlib, hawkauthlib, boto, zope.deprecation, WebOb, venusian, urllib3, testfixtures, requests, pyramid, PyJWT, pycparser, plaster_pastedeploy, plaster, PasteDeploy, idna, hupper, datadog, backoff
2025/01/27 18:12:14	Successfully installed PasteDeploy-3.1.0 PyJWT-2.10.1 WebOb-1.8.9 backoff-2.2.1 boto-2.49.0 datadog-0.50.2 hawkauthlib-2.0.0 hupper-1.12.1 idna-3.10 plaster-1.1.2 plaster_pastedeploy-1.0.1 pycparser-2.22 pyramid-2.0.2 requests-2.32.3 testfixtures-8.3.0 tokenlib-2.0.0 translationstring-1.4 urllib3-2.3.0 venusian-3.1.1 zope.deprecation-5.1
2025/01/27 18:12:15	End service_postinst
2025/01/27 18:12:15	Granting 'sc-ffsync' unix ownership on /volume1/@appstore/ffsync/var
2025/01/27 18:12:15	upgrade ffsync 0.18.2-5 End postinst ret=[0]
2025/01/27 18:12:15	upgrade ffsync 0.18.2-5 Begin postupgrade
2025/01/27 18:12:15	Begin initialize_variables
2025/01/27 18:12:15	End initialize_variables
2025/01/27 18:12:15	===> Step postupgrade. STATUS=UPGRADE USER=ffsync GROUP= SHARE_PATH=
2025/01/27 18:12:15	Granting 'sc-ffsync' unix ownership on /volume1/@appstore/ffsync/var
2025/01/27 18:12:15	upgrade ffsync 0.18.2-5 End postupgrade ret=[0]
2025/01/27 18:12:17	upgrade ffsync 0.18.2-5 Begin start-stop-status start
2025/01/27 18:12:17	upgrade ffsync 0.18.2-5 End start-stop-status start ret=[0]
2025/01/27 18:12:18	upgrade ffsync 0.18.2-5 Begin /bin/rm -rf /volume1/@tmp/pkginstall
2025/01/27 18:12:18	upgrade ffsync 0.18.2-5 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0]
Service Log
Installation log: /var/log/packages/ffsync.log
Starting ffsync ...
tail: /var/packages/ffsync/var/ffsync.log: file truncated
Mon Jan 27 18:08:27 -04 2025
Starting ffsync command /volume1/@appstore/ffsync/bin/syncserver --config=/volume1/@appstore/ffsync/var/local.toml
Jan 27 22:08:27.769 INFO starting 2 workers
Jan 27 22:08:27.769 INFO Server running on http://0.0.0.0:8132 (mysql) (available_parallelism: Ok(2) num_cpus: 2 num_cpus (phys): 2) No quota
Jan 27 22:08:27.770 INFO Actix runtime found; starting in Actix runtime
Stopping ffsync ...
Mon Jan 27 18:10:16 -04 2025
Stopping ffsync service : syncserver (11150)
Jan 27 22:10:16.699 INFO SIGTERM received; starting graceful shutdown
Jan 27 22:10:16.699 INFO shutting down idle worker
Jan 27 22:10:16.699 INFO shutting down idle worker
Jan 27 22:10:16.700 INFO accept thread stopped
Jan 27 22:10:17.003 INFO Server closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant