Dirk's Tech Findings

Lektor: Admin page does not load

Publication date: 2020-05-04

Issue: The admin page of Lektor does not work when installed on Debian

When Lektor is installed on Debian Buster using

apt install lektor

the admin page of a Lektor project served by

lektor server
lektor server --host 0.0.0.0

just shows "Loading Interface ..."

Solution: Use the PyPi package

It works when the Debian package is not used but Lektor is installed via PyPi using

pip3 install lektor

The Lektor server can then be run using

python3 -m lektor server
python3 -m lektor server --host 0.0.0.0

Hint towards the solution

"I can see this happen if you installed the git version and you did not build the sources with make build-js but these files should be available if installed from pypi." (see https://github.com/lektor/lektor/issues/150)

Back to topic list...