Missing features after install

Clover_YT

Verified User
Joined
Dec 6, 2020
Messages
13
So I have installed directadmin on my new vps and it installed suspiciously quickly (took it like 2 minutes) but then I found out that im missing most essential features like custombuild configserver firewall (both show up as installed in the plugin manager but I can't locate either of them on the system. What should I do to install these?
 
You should have received a message that CustomBuild is running in background and provided the command to check the status (CustomBuild should report failure/success to the message system as well).
 
Same problem here on a new install, CSF and Custombuild plug-in not showing up.
 
Emm, the install did not finish in 2 minutes. It installed DA binary for you to be able to access the GUI. The last lines after the login details should be about installation continuing in the background. May you check the last lines of your output ?
 
I do understand that, I've tailed the install file till it finished..

I've also tried to run ./build all d, reinstall csf manually. I think it's a problem with the new installer. smtalk also indicates custom build should run in the background as the installer. The installer did run on the background, custom build doesn't.
 
I can confirm this issue. Just did a new install with DA 1.63.3 and it took the usual amount of time for the install process but csf and custombuild plugins are shown in Plugin Manager but not as plugins. When I visit https://example.com:2222/admin/plugins/custombuild it gives the following error in console:
Code:
TypeError: Cannot read properties of undefined (reading 'type')

On an existing install, I copied the php_extensions and options config from this, it works fine. Is it maybe related to PHP8.1 which is php_1? I wasn't able to spot major Errors in custombuild install.txt on a glance.
 
Same issue here on a new install.

Custom build shows in plugin manager, but not showing in UI. I waited an hour.
 
May you try:
Code:
/usr/local/directadmin/custombuild/build plugin

Do you see any other plugins?
 
Code:
/usr/local/directadmin/custombuild/build plugin
######################################################################### 100.0%
CustomBuild plugin is now installed!

Still not showing up in DirectAdmin. The following plug-ins are shown as installed:

ConfigServer Firewall
1.0
Yes
No
Yes
WTTW

custombuild
1.0.371.0.37
Yes
Yes
Yes
Martynas Bendorius, JBMC Software

But aren't showing up in the DirectAdmin interface.

I'm still thinking it's some sort of permission problem, since trying to deactivate or uninstall the plugin returns the following output:

Code:
Unable to read /usr/local/directadmin/plugins/csf/plugin.conf : Unable to open /usr/local/directadmin/plugins/csf/plugin.conf for reading.
Permission denied
 
Hi,
I can confirm the same issue, fresh install on brand new hardware.

the plugins are installed, but the skin is not updated to reflect the menu items.


2021:12:10-15:35:22: Plugin::get_plugin_confg: error reading /usr/local/directadmin/plugins/custombuild/plugin.conf: Unable to open /usr/local/directadmin/plugins/custombuild/plugin.conf for reading.<br> Permission denied<br> 2021:12:10-15:38:45: ioctl can't find the server's ip address for eth0 : No such device 2021:12:10-15:39:15: Plugin::get_plugin_confg: error reading /usr/local/directadmin/plugins/csf/plugin.conf: Unable to open /usr/local/directadmin/plugins/csf/plugin.conf for reading.<br> Permission denied<br> 2021:12:10-15:39:15: Plugin::get_plugin_confg: error reading /usr/local/directadmin/plugins/custombuild/plugin.conf: Unable to open /usr/local/directadmin/plugins/custombuild/plugin.conf for reading.<br> Permission denied<br>


another issue seen on el8 is the network dev not configured properly, its looking for eth0.
2021:12:10-15:45:20: ioctl can't find the server's ip address for eth0 : No such device 2021:12:10-15:47:19: ioctl can't find the server's ip address for eth0 : No such device 2021:12:10-15:47:20: ioctl can't find the server's ip address for eth0 : No such device 2021:12:10-15:47:22: ioctl can't find the server's ip address for eth0 : No such device

this can be fixed by entering the correct device name in directadmin.conf to the entry
ethernet_dev=
 
Did you try this? Or is your device indeed eth0? It might be you have to set this to enp2s0 or something like that and restart DA.
my device is not eth0 , but the install script did not recognize it's name.
so i had to add the ethernet_dev=enp7s0 to my directadmin.conf

from what i understood, the installer assumes the device is always eth0 , which is a wrong assumption in my case.
 
@smtalk Is there a way to use the old installer?

I really like the new one, I wondered why it wasn't like that originally.
 
from what i understood, the installer assumes the device is always eth0
No it doesn't, unless something has changed in between. I had enp2s0 on my Centos 8 machine which was detected correctly.
I presume the plugin build now worked correctly?

@Jayjayuk You mean the old installer like with using choice with Y/N? Yes there is, but I'm not sure how it's called now. Maybe just setup.sh without any additions? Not sure.
 
something must have changed,
im talking about an installation from today, it assumed eth0 for some reason.

as to the plugins, they are installed in the plugin manager but the plugins are not showing up in the admin menu after a clean install.


I have compared this to a different server, it seems to be a permission issue for the plugin folder.

after a clean install the permission are:
]# ls -lad /usr/local/directadmin/plugins/ drwx------. 4 root root 4096 Dec 10 15:33 /usr/local/directadmin/plugins/

once i set the permissions to:
chown diradmin.diradmin plugins/;chmod 711 plugins/

the plugin menu now works correctly.
 
I had the same issue.
I did the following.

Added correct adapter in directadmin.conf
ethernet_dev=ens18

Then I had to reset permissions as CSF and CWAF were all missing for some reason.

cd /usr/local/directadmin/scripts
./set_permissions.sh all

Once I did that those features appeared.

And these were two brand new Almalinux 8 servers. Where I did another one a week ago and it worked flawlessly. I think something changed somewhere.
 
Resetting the permissions and setting the network adapter manually fixed my problems as well. Didn't have this problem with an identical server I installed a few days ago.
 
i'm doing another fresh install now. I am hoping this would have been fixed by now.

** Still Broken**

Thanks to @sahostking changing the permissions seems to have done the job.
 
Last edited:
Back
Top