Ich habe in einem FreeBSD iocage nextcloud auf FreeNAS installiert, aber das letsencrypt Zertifikat lässt sich nicht automatisch aktualisieren.
py-requests sollte ich per pip install nachinstallieren, allerdings gibt es Probleme wegen eines Konflikts mit py-setuptools py27 vs. py36.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226634
Gibt es einen Workaround? So ganz verstehe ich die Diskussion im Bug-Report nicht.
Vielleicht mittels
DEFAULT_VERSIONS=python=3.6
in /etc/make.conf? (Nicht vorhanden)
https://www.freshports.org/devel/py-setuptools/
Code:
root@nextcloud:/usr/ports/devel/py-pip # acme.sh --issue -d my.example.com --standalone --httpport 8675 --reloadcmd "/root/deploy-freenas/deploy_freenas.py" --debug --renew --test
Code:
root@nextcloud:~/deploy-freenas # /root/deploy-freenas/deploy_freenas.py
Traceback (most recent call last):
File "/root/deploy-freenas/deploy_freenas.py", line 22, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
py-requests sollte ich per pip install nachinstallieren, allerdings gibt es Probleme wegen eines Konflikts mit py-setuptools py27 vs. py36.
Code:
root@nextcloud:/usr/ports/devel/py-setuptools # freebsd-version
11.2-RELEASE-p9
root@nextcloud:/usr/ports/devel/py-setuptools # make FLAVOR=py36 install clean BATCH=yes FORCE=yes
===> Installing for py36-setuptools-41.2.0
===> Checking if py36-setuptools is already installed
===> Registering installation for py36-setuptools-41.2.0
[nextcloud] Installing py36-setuptools-41.2.0...
pkg-static: py36-setuptools-41.2.0 conflicts with py27-setuptools-40.8.0 (installs files into the same place). Problematic file: /usr/local/bin/easy_install
*** Error code 70
Stop.
make: stopped in /usr/ports/devel/py-setuptools
root@nextcloud:/usr/ports/devel/py-setuptools # cd /usr/ports/devel/py-pip/ && make FLAVOR=py36 install clean BATCH=yes FORCE=yes
===> py36-pip-19.1.1 depends on package: py36-pypa-docs-theme>=g20180622 - not found
===> py36-pypa-docs-theme-g20180622 depends on package: py36-setuptools>0 - not found
===> Installing for py36-setuptools-41.2.0
===> Checking if py36-setuptools is already installed
===> Registering installation for py36-setuptools-41.2.0 as automatic
[nextcloud] Installing py36-setuptools-41.2.0...
pkg-static: py36-setuptools-41.2.0 conflicts with py27-setuptools-40.8.0 (installs files into the same place). Problematic file: /usr/local/bin/easy_install
*** Error code 70
Stop.
make[2]: stopped in /usr/ports/devel/py-setuptools
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/textproc/py-pypa-docs-theme
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/py-pip
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226634
Gibt es einen Workaround? So ganz verstehe ich die Diskussion im Bug-Report nicht.
Vielleicht mittels
DEFAULT_VERSIONS=python=3.6
in /etc/make.conf? (Nicht vorhanden)
https://www.freshports.org/devel/py-setuptools/