You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to install Django-FreeRadius-Manager on Debian 11/bullseye I got these errors
amac@django-test:~/django_projects/locallibrary$ sudo apt install python3 python3-dev libmariadbclient-dev python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libmariadbclient-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libmariadb-dev-compat libmariadb-dev
E: Package 'libmariadbclient-dev' has no installation candidate
Maybe it's just a matter of updating the doc to make installation more straight/forward.
The command
(env) root@django-test:/opt/django-freeradius-manager/freerad_manager# sudo mysql -u root -e "CREATE DATABASE IF NOT EXISTS radius; GRANT ALL ON radius.* TO radius@'%' IDENTIFIED BY '$RADIUS_PWD'; \
flush privileges;"
ERROR 1133 (28000) at line 1: Can't find any matching row in the user table
Launching mysql on its own and issueing each single command at time works.
(env) root@django-test:/opt/django-freeradius-manager/freerad_manager# ./manage.py migrate
Traceback (most recent call last):
[skipped]
ImportError: cannot import name 'encodestring' from 'base64' (/usr/lib/python3.9/base64.py)
Maybe it's just a matter of updating the doc to make installation more straight/forward.
The command
works perfectly.
Launching mysql on its own and issueing each single command at time works.
Found the solution here
Replace any occurence of "encodestring" with "encodebytes" in /opt/django-freeradius-manager/freerad_manager/django_freeradius/models.py
The text was updated successfully, but these errors were encountered: