Page 1 of 1

Problem in configuring Packages and Users

Posted: Sat Dec 22, 2018 5:11 pm
by Felix
Hello,
On one VestaCP installation, I'm facing a problem when creating or editing Packages on the Web UI. In both operations (create or edit package), there are no available options at the SSH Access drop-down list.

Here is a screenshot
Image

I have checked on the code a bit and as far as I understand, that drop-down list should be populated by the result of the command

Code: Select all

exec (VESTA_CMD."v-list-sys-shells json", $output, $return_var);
Line 87 at /usr/local/vesta/web/edit/package/index.php

When I manually run the CLI command v-list-sys-shells json, I get some output:

Code: Select all

[
        "bash",
        "dash",
        "nologin",
        "rbash",
        "rssh",
        "screen",
        "sh",
]
So I guess there is nothing wrong with the CLI Command.

What else should I check, to fix that problem?

For the time being I'm editing by hand Packages files in the directory /usr/local/vesta/data/packages, but I would like to fix the above problem too.

OS and CP Version
Ubuntu 14.04 (x86_64)
VestaCP 0.9.8 (amd64) Release:23

Edit: I just noticed that the same problem exists when editing a user.