Can't update plugins: Build process in progress

burekas

Verified User
Joined
Feb 9, 2020
Messages
9
Hi,

According to this notification:
Subject: CustomBuild versions.txt is getting old on ...
It appears as though your services have not been checked for updates in a while (30 days).
Please check for udpates with CustomBuild, or the Custombuild plugin:

I run this commands manually:
cd /usr/local/directadmin/custombuild
./build update
./build all d
./build rewrite_confs

Now it's showing that there are updates in CustomBuild 2.0 in DirectAdmin panel.
But I can't update that because there is this message:
Build process in progress. PID: 8607 (kill) Started from terminal.

I have killed this PID manually and even make a reboot, but this message still there (even this PID is no longer exist) and prevent me from update the plugins there.

Running again this command returns this output:
...: /usr/local/directadmin/custombuild # ./build all d
Another instance of custombuild is running (lockfile: /usr/local/directadmin/custombuild/.custombuild, PID 8607). Executing: doPCRE


How can I fix this and remove this message?
 
Last edited:

Zhenyapan

Verified User
Joined
Feb 23, 2018
Messages
349
Location
UA
it was bad idea to kill task, you must wait next time, process may take few minutes.
now just remove lockfile: /usr/local/directadmin/custombuild/.custombuild
and run again:
cd /usr/local/directadmin/custombuild
./build update
(it's enough to stop messaging if you don't want to update anything)
 

burekas

Verified User
Joined
Feb 9, 2020
Messages
9
I was waiting long time before killing it, it was done when it seems to be stuck,
Because during the first build I lost a connection, so maybe it made a problem.

But at the end I ran this command ./build rewrite_confs and it released this error, so I can update all the rest through the DA CustomBuild 2.0 panel as usual.

Thanks.
 
Top