Trouble installing roundcube 1.5 on new myvesta server

Post Reply
Gregarious
Posts: 2
Joined: Fri Mar 03, 2023 12:27 am

Hello

Kudos to the developer for this wonderful fork of Vesta. After a lot of trouble with hestia and bind9 behind OpenVZ I migrated to myvesta today.

I am trying to install Roundcube 1.5 on a new subdomain and I have confirmed that this subdomain is not in use.
bash /root/install-new-roundcube.sh 'webmail' 'webmail.mydomain.com'
Using the bash command I get the following error
== Creating user: webmail
/usr/local/vesta/bin/v-add-user: line 21: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user: line 22: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user: line 36: check_args: command not found
/usr/local/vesta/bin/v-add-user: line 37: is_format_valid: command not found
/usr/local/vesta/bin/v-add-user: line 39: is_format_valid: command not found
/usr/local/vesta/bin/v-add-user: line 42: is_password_valid: command not found
/usr/local/vesta/bin/v-add-user: line 43: is_package_valid: command not found
cat: /data/packages/default.pkg: No such file or directory
useradd: invalid shell '# /etc/shells: valid login shells'
/usr/local/vesta/bin/v-add-user: line 59: check_result: command not found
chpasswd: (user webmail) pam_chauthtok() failed, error:
Authentication token manipulation error
chpasswd: (line 1, user webmail) password not changed
mkdir: cannot create directory '/webmail/conf': No such file or directory
chmod: cannot access '/webmail': No such file or directory
chattr: No such file or directory while trying to stat /webmail/conf
/usr/local/vesta/bin/v-add-user: line 122: /data/queue/disk.pipe: No such file or directory
/usr/local/vesta/bin/v-add-user: line 143: /v-list-user-ips: No such file or directory
/usr/local/vesta/bin/v-add-user: line 188: generate_password: command not found
/usr/local/vesta/bin/v-add-user: line 198: increase_user_value: command not found
/usr/local/vesta/bin/v-add-user: line 212: log_history: command not found
/usr/local/vesta/bin/v-add-user: line 213: log_event: command not found
/usr/local/vesta/bin/v-change-user-language: line 17: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-change-user-language: line 18: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-change-user-language: line 39: check_args: command not found
/usr/local/vesta/bin/v-change-user-language: line 40: is_format_valid: command not found
/usr/local/vesta/bin/v-change-user-language: line 41: is_object_valid: command not found
/usr/local/vesta/bin/v-change-user-language: line 42: is_object_unsuspended: command not found
Error: language en doesn't exist
/usr/local/vesta/bin/v-change-user-language: line 29: log_event: command not found
== Adding domain: webmail.mydomain.com
/usr/local/vesta/bin/v-add-domain: line 19: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-domain: line 20: /func/ip.sh: No such file or directory
/usr/local/vesta/bin/v-add-domain: line 21: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-domain: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-domain: line 28: is_format_valid: command not found
/usr/local/vesta/bin/v-add-domain: line 32: is_object_valid: command not found
/usr/local/vesta/bin/v-add-domain: line 33: is_object_unsuspended: command not found
/usr/local/vesta/bin/v-add-domain: line 42: get_user_ip: command not found
/usr/local/vesta/bin/v-add-domain: line 44: check_result: command not found
/usr/local/vesta/bin/v-add-domain: line 67: /v-restart-web: No such file or directory
/usr/local/vesta/bin/v-add-domain: line 68: check_result: command not found
/usr/local/vesta/bin/v-add-domain: line 70: /v-restart-proxy: No such file or directory
/usr/local/vesta/bin/v-add-domain: line 71: check_result: command not found
/usr/local/vesta/bin/v-add-domain: line 73: /v-restart-dns: No such file or directory
/usr/local/vesta/bin/v-add-domain: line 74: check_result: command not found
ERROR: Can't create domain webmail.mydomain.com, maybe it's already created under the other user?
Sorry if this has been answered before, but using the search function tells me that the word roundcube is too common!

Checking the logs I can't seem to find why it that is the case.
I would appreciate any advice.
Gregarious
Posts: 2
Joined: Fri Mar 03, 2023 12:27 am

I rebooted the server after the install and now it works. Silly me!
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Post Reply