Coder Social home page Coder Social logo

ajenti-mdadm's People

Contributors

pe2mbs avatar

Stargazers

 avatar

Watchers

 avatar

ajenti-mdadm's Issues

Plugin support

Good day.
Plug-in supports the latest version of the Ajenti and the Software Raid.
Why abandoned development?

With love,
Jonathan.

Plugin crash after login

Hi,

First bug report!
I'm running Ajenti v1.2.22.21 on Raspbian; after logging into Ajenti, MDADM plugin crashes.
I started Ajenti in debug mode and found this:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 346, in init
    cat = cls.new(self.ui)
  File "/usr/lib/pymodules/python2.7/ajenti/api/__init__.py", line 91, in new
    return context.instantiate(cls, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/__init__.py", line 202, in instantiate
    init(instance)
  File "/var/lib/ajenti/plugins/mdadm/main.py", line 77, in init
    self.mdadm.Update()
  File "/var/lib/ajenti/plugins/mdadm/api.py", line 409, in Update
    del lines[0]
IndexError: list assignment index out of range

I got your plugin installed on Debian Wheezy x86 and doesn't crash like on Raspian.
It could be a problem with some Python library or module?

crash ajenti-v

raceback (most recent call last):
File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 346, in init
cat = cls.new(self.ui)
File "/usr/lib/pymodules/python2.7/ajenti/api/init.py", line 91, in new
return context.instantiate(cls, _args, *_kwargs)
File "/usr/lib/pymodules/python2.7/ajenti/plugins/init.py", line 202, in instantiate
init(instance)
File "/var/lib/ajenti/plugins/vh/main.py", line 119, in init
self.manager = VHManager.get()
File "/usr/lib/pymodules/python2.7/ajenti/api/init.py", line 84, in get
return context.get_instance(cls)
File "/usr/lib/pymodules/python2.7/ajenti/plugins/init.py", line 188, in get_instance
return self.instantiate(cls)
File "/usr/lib/pymodules/python2.7/ajenti/plugins/init.py", line 202, in instantiate
init(instance)
File "/var/lib/ajenti/plugins/vh/api.py", line 268, in init
self.reload()
File "/var/lib/ajenti/plugins/vh/api.py", line 278, in reload
self.config = Config(json.load(open(self.config_path)))
File "/usr/lib/python2.7/json/init.py", line 290, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
2016-08-29 22:54:01,273 INFO connectionpool._new_conn(): Starting new HTTP connection (1): ajenti.org
2016-08-29 22:54:01,765 INFO connectionpool._new_conn(): Starting new HTTP connection (1): ajenti.org
2016-08-29 22:54:01,765 INFO : Starting new HTTP connection (1): ajenti.org

После того как закончилось место на жёстком, ajtnti умер. Место уже появилось ajnti не ожил. Что делать? Из панели пропал раздел "Веб-сайты". Переустановка не помогает. Ubuntu 14.04.5 LTS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.