question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ajenti does not open after upgrading

See original GitHub issue
root@srv1:~# apt-get upgrade 
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Расчёт обновлений…Готово
Следующие пакеты устанавливались автоматически и больше не требуются:
  linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
  linux-headers-3.13.0-74 linux-headers-3.13.0-74-generic
  linux-headers-3.13.0-76 linux-headers-3.13.0-76-generic
  linux-image-3.13.0-24-generic linux-image-3.13.0-74-generic
  linux-image-3.13.0-76-generic linux-image-extra-3.13.0-24-generic
  linux-image-extra-3.13.0-74-generic linux-image-extra-3.13.0-76-generic
Для их удаления используйте «apt-get autoremove».
Пакеты, которые будут обновлены:
  ajenti python-reconfigure
обновлено 2, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 1 723 kB/1 753 kB архивов.
После данной операции, объём занятого дискового пространства возрастёт на 1 409 kB.
Хотите продолжить? [Д/н] y
Получено:1 http://repo.ajenti.org/debian/ main/main ajenti all 1.2.23.6 [1 723 kB]
Получено 1 723 kБ за 0с (5 075 kБ/c)
(Чтение базы данных … на данный момент установлено 178919 файлов и каталогов.)
Preparing to unpack …/python-reconfigure_0.1.75_all.deb ...
Unpacking python-reconfigure (0.1.75) over (0.1.72) ...
Preparing to unpack …/ajenti_1.2.23.6_all.deb ...
Stopping Ajenti:
 * stopped
Unpacking ajenti (1.2.23.6) over (1.2.23.3) ...
Processing triggers for python-support (1.0.15) ...
Processing triggers for ureadahead (0.100.0-16) ...
Настраивается пакет python-reconfigure (0.1.75) …
Настраивается пакет ajenti (1.2.23.6) …
:: SSL is already configured
------------------------------------------------
Now start Ajenti with 'service ajenti restart'
Ajenti will listen on HTTPS port 8000 by default

Default username : root
Default password : admin
------------------------------------------------
Processing triggers for python-support (1.0.15) ...

После обновления панель не открывается - Веб-страница недоступна

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:19

github_iconTop GitHub Comments

1reaction
virtualadriancommented, Jan 29, 2017

The issue is the SSL cert, so you just need a good one. I ended up getting myself a Cert from LetsEncrypt since my situation permitted me to. I then collapsed the key and cert PEM files into one and stowed that away for Ajenti.

    cat /etc/letsencrypt/live/example.com/cert.pem >> /etc/ajenti/le_ajenti.cert
    cat /etc/letsencrypt/live/example.com/privkey.pem >> /etc/ajenti/le_ajenti.cert

Once you have that just edit the Ajenti Config file.

    vi /etc/ajenti/config.json

Here’s a snittpet of the JSON

{



    "bind": {
        "host": "0.0.0.0",
        "port": 8000
    },
    "enable_feedback": true,
    "ssl": {
        "enable": true,
        "certificate_path": "/etc/ajenti/mpajenti.cert"
    },
    "authentication": true

}

Once done, just restart the Ajenti Service.

    systemctl restart ajenti
0reactions
onlinethcommented, Oct 23, 2016

Going to repeat this again (having searched for quite some time now),

This DOES work: https://github.com/Xefir/ajenti/commit/10e0952b9119eff4bf56efa2ca94c27b1f6c0ebc

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot access Ajenti on port 8000
I'm running Apache 2 on Raspbian and even though Ajenti installed and is running I cannot access it on the default port as...
Read more >
How to Install Ajenti Control Panel on Ubuntu 20.04 - Skynats
Steps to install the Ajenti control panel on Ubuntu 20.04. Update System initially, update and upgrade the Ubuntu machine by executing.
Read more >
How to install the Ajenti Control Panel on Ubuntu 18.04
Before we install Ajenti, make sure that your server is updated and upgraded. Do note, should your kernel be upgraded, you'll need to...
Read more >
Trying to install Ajenti admin - DigitalOcean
Hi I have followed this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-ajenti-control-panel-on-ubuntu-13-04.
Read more >
How to install ajenti control panel on AWS - ClickIT
In this tutorial, you will learn how to install and setup Ajenti control panel, an open source web-based system, on AWS instances.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found