RoundCube missing direct_login option. Please re-install RoundCube.

xerox

Verified User
Joined
Jul 16, 2019
Messages
137
After updating to latest DA/custombuild the direct email login stopped working.
Custombuild 2.0.0 (rev: 2295)

I get this error:
RoundCube missing direct_login option. Please re-install RoundCube.

DA conf seems fine:
one_click_webmail_login=1

What i already tried:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build roundcube
./build exim
./build exim_conf
./build dovecot
./build dovecot_conf
./build update_webapps
./build rewrite_confs

After restarting the whole server, still no difference.

P.S. I have rainloop installed, is this maybe something to do with this?

Thanks.
 

psalm91

Verified User
Joined
Sep 20, 2015
Messages
146
After updating to latest DA/custombuild the direct email login stopped working.
Custombuild 2.0.0 (rev: 2295)

I get this error:
RoundCube missing direct_login option. Please re-install RoundCube.

DA conf seems fine:
one_click_webmail_login=1

What i already tried:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build roundcube
./build exim
./build exim_conf
./build dovecot
./build dovecot_conf
./build update_webapps
./build rewrite_confs

After restarting the whole server, still no difference.

P.S. I have rainloop installed, is this maybe something to do with this?

Thanks.
I have this problem how to resolve now?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,469
Location
LT, EU
Fixed in CB 2.0 rev. 2906, thank you for the report! To fix, just run:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build roundcube
 

psalm91

Verified User
Joined
Sep 20, 2015
Messages
146
Fixed in CB 2.0 rev. 2906, thank you for the report! To fix, just run:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build roundcube
but still have the problem

[[email protected] ~]# cd /usr/local/directadmin/custombuild
[[email protected] custombuild]# ./build update
######################################################################## 100.0%
Extracting custombuild.tar.gz...
######################################################################## 100.0%

curl: (22) The requested URL returned error: 404 Not Found
Download of https://repo.cloudlinux.com/cloudlinux/sources/da/api/da_vendor?file =cwaf_rules-1.233.tgz failed, re-downloading the file...

curl: (22) The requested URL returned error: 404 Not Found
Download of https://repo.cloudlinux.com/cloudlinux/sources/da/api/da_vendor?file =cwaf_rules-1.233.tgz failed, re-downloading the file...

curl: (22) The requested URL returned error: 404 Not Found
Download of https://repo.cloudlinux.com/cloudlinux/sources/da/api/da_vendor?file =cwaf_rules-1.233.tgz failed, re-downloading the file...

curl: (22) The requested URL returned error: 404 Not Found
Download of https://repo.cloudlinux.com/cloudlinux/sources/da/api/da_vendor?file =cwaf_rules-1.233.tgz failed, re-downloading the file...
Download of https://repo.cloudlinux.com/cloudlinux/sources/da/api/da_vendor?file =cwaf_rules-1.233.tgz failed 4 times, exiting...
Cronjob is set for [email protected]
Cronjob frequency: daily
Automatic notifications: yes
Automatic updates: no
[[email protected] custombuild]# ./build roundcube
Found MySQL version 5.7
Granting access: GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,LOCK TABLES,INDEX,REFERENCES ON da_roundcube.* TO 'da_roundcube'@'localhost';
Setting password: ALTER USER 'da_roundcube'@'localhost' IDENTIFIED BY 'xeCgEjlIg0J37ORZw';
Editing roundcube configuration...
######################################################################## 100.0%
tar (child): roundcube_direct_login-0.8.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
chown: cannot access 'direct_login': No such file or directory
chmod: cannot access 'direct_login': No such file or directory
chmod: cannot access 'direct_login/tokens': No such file or directory
chmod: cannot access 'direct_login/index.php': No such file or directory
Roundcube 1.6.0 has been installed successfully.
WARNING: Changed defaults (These config options have new default values):
- 'skin'
- 'smtp_port'
- 'smtp_user'
- 'smtp_pass'
- 'jquery_ui_skin_map'
Executing database schema update.
NOTICE: Update dependencies by running `php composer.phar update --no-dev`
Indexing contacts for user 1...
Indexing contacts for user 2...
Indexing contacts for user 3...
Indexing contacts for user 4...
Indexing contacts for user 5...
Indexing contacts for user 6...
Indexing contacts for user 7...
Indexing contacts for user 8...
done.
This instance of Roundcube is up-to-date.
Have fun!
Reloading php-fpm73.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,469
Location
LT, EU
Please try:
Code:
wget -O /usr/local/directadmin/custombuild/build http://files1.directadmin.com/services/custombuild/2.0/custombuild/build
/usr/local/directadmin/custombuild/build update
 

psalm91

Verified User
Joined
Sep 20, 2015
Messages
146
Please try:
Code:
wget -O /usr/local/directadmin/custombuild/build http://files1.directadmin.com/services/custombuild/2.0/custombuild/build
/usr/local/directadmin/custombuild/build update
Still can't login to email after update and phpmyadmin also gives

404 Error​

Sorry, but the page you are looking for can't be found.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,469
Location
LT, EU
I was unable to reproduce 404. Maybe you didn't execute the commands mentioned above after? Try:
Code:
wget -O /usr/local/directadmin/custombuild/build http://files1.directadmin.com/services/custombuild/2.0/custombuild/build
/usr/local/directadmin/custombuild/build update
/usr/local/directadmin/custombuild/build roundcube
/usr/local/directadmin/custombuild/build phpmyadmin
 

psalm91

Verified User
Joined
Sep 20, 2015
Messages
146
I was unable to reproduce 404. Maybe you didn't execute the commands mentioned above after? Try:
Code:
wget -O /usr/local/directadmin/custombuild/build http://files1.directadmin.com/services/custombuild/2.0/custombuild/build
/usr/local/directadmin/custombuild/build update
/usr/local/directadmin/custombuild/build roundcube
/usr/local/directadmin/custombuild/build phpmyadmin
Yes that is right . Now it works but isn't it a downgrade ?
 
Top