CB uses old versions

gate2vn

Verified User
Joined
Nov 9, 2004
Messages
503
Location
Oslo
CB cron notifies an update of Dovecot from 2.2.20 to 2.2.21, but then it keeps downloading 2.2.20. The same with Apache, from 2.4.17 to 2.4.18. So, CB detects new versions, but keeps using old versions. I am using version: 2.0.0 (rev: 1473).

Any idea?

Thanks.
 
Hello,

What OS and version are you running? What do you see with:

Code:
./build update && ./build versions | grep avail

?

Code:
./build dovecot 2>&1 | less

What version does it download and why? It should give the reason.
 
Hi,

Thanks for replying. Here are the results

./build update && ./build versions | grep avail
RoundCube webmail 1.2-beta to 1.1.3 update is available.

And if running "./build dovecot" or "./build apache" directly, it will build correct versions. But cron was always picking up the old versions in last 2 days. I am not sure if it's related to this https://forum.directadmin.com/showthread.php?t=52368&p=269291#post269291
 
How does the custombuild crontask file on your server look like? Did you try to run:

Code:
./build cron

to update it?
 
That makes no sense, since the crontask runs this code:

Code:
./build versions_nobold | grep 'update is available.'

And even now when you have Dovecot 2.2.21 and Apache 2.4.18 installed if you run the crontask

Code:
sh `ls -11 /etc/cron.*/custombuild | head -1`

will you get notification about available updates?
 
Back
Top