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

Python 39 missing #113

Open
forid786 opened this issue Jul 2, 2023 · 10 comments
Open

Python 39 missing #113

forid786 opened this issue Jul 2, 2023 · 10 comments

Comments

@forid786
Copy link
Contributor

forid786 commented Jul 2, 2023

Python39 seems to be missing from the repository. Therefore on pfSense 2.7.0, packages that rely on Python39 do not install such as E2Guardian, and Speedtest-cli.

@forid786 forid786 changed the title Pyhton 39 missing Python 39 missing Jul 2, 2023
@GRB-CONSULTORIA
Copy link

tambe estou com o mesmo problema

@pablorivara
Copy link

Hi guys,
here a same problem:

>>> Installing pfSense-pkg-E2guardian5...
Updating Unofficial repository catalogue...
Unofficial repository is up to date.
Updating pfSense-core repository catalogue...
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
pfSense repository is up to date.
All repositories are up to date.
pkg-static: e2guardian has a missing dependency: python39
Failed.

If the necessary version of python is installed, does it solve the problem or could it generate some other conflict?

@IagoCarvalho1
Copy link

Good afternoon, can anyone tell me if there is a solution for this problem?

@Dimitrievich
Copy link

Dimitrievich commented Jul 23, 2023

hello to all from Ukraine

my solution is the following
enable freeBSD repositories in files(https://docs.netgate.com/pfsense/en/latest/recipes/freebsd-pkg-repo.html)

  • /usr/local/etc/pkg/repos/pfSense.conf

  • /usr/local/etc/pkg/repos/FreeBSD.conf

pkg update
pkg install python39

and then you can install the E2guardian5 package
and all works

@forid786
Copy link
Contributor Author

forid786 commented Jul 23, 2023

@Dimitrievich do all the Web pages work for E2guardian after installing python via those repos? As the PHP version has changed.

EDIT: Tested this, bricks the system and causes crashes. Not worth the instability. @marcelloc needs to update stuff, even E2Guardian is an old version now.

@Dimitrievich
Copy link

@forid786
I tested all tabs
all work fine
if during work or increased load I see errors, I will inform

updates have been needed for a long time. I hope @marcelloc to make them soon.

@pablorivara
Copy link

good morning from uruguay
I just tried to install e2g, and surprise!
could be installed without doing anything else.
Thanks Marcelloc!

@forid786
Copy link
Contributor Author

@forid786 I tested all tabs all work fine if during work or increased load I see errors, I will inform

updates have been needed for a long time. I hope @marcelloc to make them soon.

I have the dashboards for E2guardian enabled, I think they were what caused problems on my end. Actually caused a full system crash. I'll clone my pfSense VM and test further in the lab. I'm 100% sure some changes will need to be made as the PHP version has changed in the newer versions of pfSense and pfSense plus. Maybe for now we can workaround without using the dashboard, please let us know how your testing goes under load.

@pablorivara
Copy link

GM,
Copy/Paste Crash Report

Crash report begins. Anonymous machine information:

amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #1 RELENG_2_7_0-n255866-686c8d3c1f0: Wed Jun 28 04:21:19 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/obj/amd64/LwYAddCr/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/sources/FreeBSD-src-REL

Crash report details:

PHP Errors:
[24-Jul-2023 08:43:37 America/Montevideo] PHP Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /usr/local/www/widgets/widgets/e2guardian.widget.php:56
Stack trace:
#0 /usr/local/www/widgets/widgets/e2guardian.widget.php(56): date('H:i', 'time')
#1 /usr/local/www/widgets/widgets/e2guardian.widget.php(76): e2guardian_show_dstats()
#2 /usr/local/www/index.php(428): include('/usr/local/www/...')
#3 {main}
thrown in /usr/local/www/widgets/widgets/e2guardian.widget.php on line 56
[24-Jul-2023 08:43:48 America/Montevideo] PHP Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /usr/local/www/widgets/widgets/e2guardian.widget.php:56
Stack trace:
#0 /usr/local/www/widgets/widgets/e2guardian.widget.php(56): date('H:i', 'time')
#1 /usr/local/www/widgets/widgets/e2guardian.widget.php(76): e2guardian_show_dstats()
#2 /usr/local/www/index.php(428): include('/usr/local/www/...')
#3 {main}
thrown in /usr/local/www/widgets/widgets/e2guardian.widget.php on line 56
[24-Jul-2023 08:43:58 America/Montevideo] PHP Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /usr/local/www/widgets/widgets/e2guardian.widget.php:56
Stack trace:
#0 /usr/local/www/widgets/widgets/e2guardian.widget.php(56): date('H:i', 'time')
#1 /usr/local/www/widgets/widgets/e2guardian.widget.php(76): e2guardian_show_dstats()
#2 /usr/local/www/index.php(428): include('/usr/local/www/...')
#3 {main}
thrown in /usr/local/www/widgets/widgets/e2guardian.widget.php on line 56
[24-Jul-2023 08:53:58 America/Montevideo] PHP Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /usr/local/www/widgets/widgets/e2guardian.widget.php:56
Stack trace:
#0 /usr/local/www/widgets/widgets/e2guardian.widget.php(56): date('H:i', 'time')
#1 /usr/local/www/widgets/widgets/e2guardian.widget.php(76): e2guardian_show_dstats()
#2 /usr/local/www/index.php(428): include('/usr/local/www/...')
#3 {main}
thrown in /usr/local/www/widgets/widgets/e2guardian.widget.php on line 56

No FreeBSD crash data found.

And widget error

e2g

@Gleysoncezar
Copy link

Boa tarde pessoal!
Estava com problemas ao tentar instalar o E2guardian, não instalava devido a essa dependência do python. Consegui resolver através do passo a passo neste link da conexTI:

https://www.conexti.com.br/se-manter-pfsense-26/

Após isso, consegui instalar normalmente o E2guardian.

Talvez te ajudem também! Abraços!

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

No branches or pull requests

6 participants