1

Topic: Trying to upgrade Roundcube

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.4 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? I do believe it was a downloadable installer
- Linux/BSD distribution name and version: Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MARIADB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello everyone,

I'm trying to upgrade to version 1.6.6 of Roundcube. I downloaded and unpacked the tarball. After that I cd into the unpacked directory. As per the instructions I ran the following script from the unpacked directory:

.bin/installto.sh roundcubemail

After I run the script I get the following message:

ERROR: Invalid target: not a directory
Usage: installto.sh [-y] <TARGET>

As per the instructions it says to point to <your-existing-roundcube-directory>

I included an image of what I think the target is...

I'm not exactly sure how to proceed, so any help would be greatly appreciated.

Thanks

Post's attachments

screenshot.png
screenshot.png 9.47 kb, 1 downloads since 2024-04-06 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Trying to upgrade Roundcube

you need the fullpath as installation target, best would be to make a new installation and afterwards change the symlink to the new version, so you have a working backup

3 (edited by chris123 2024-04-07 00:22:28)

Re: Trying to upgrade Roundcube

Cthulhu wrote:

you need the fullpath as installation target, best would be to make a new installation and afterwards change the symlink to the new version, so you have a working backup

I ran the following: sudo bin/installto.sh /opt/www/roundcubemail

It asked if I wanted to upgrade from version 1.6.1. I said yes, and it appears everything was upgraded correctly.

Roundcubemail is still a symbolic link to roundcubemail-1.6.1.

I'm not sure how to change the symbolic link, so I will have to do some research.

Post's attachments

screenshot.png
screenshot.png 9.47 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

4 (edited by RikuS 2024-04-07 03:24:44)

Re: Trying to upgrade Roundcube

You don't need to update the symbolic link as it's pointing correctly to roundcubemail-1.6.1 which was upgraded to 1.6.6. The upgrade was applied to the original path where the roundcubemail is linked to (1.6.1 in your case).

If you anyways want to have a single roundcubemail folder, which is the latest codebase, you can remove the symbolic link and rename roundcubemail-1.6.1 to roundcubemail.

# Remove symbolic link
rm -i /opt/www/roundcubemail

# You should see a message, something like:
# rm: remove symbolic link 'roundcubemail'? 
# Type y and enter if it looks correct

# Rename roundcubemail-1.6.1 to roundcubemail
mv /opt/www/roundcubemail-1.6.1 /opt/www/roundcubemail

5

Re: Trying to upgrade Roundcube

RikuS wrote:

You don't need to update the symbolic link as it's pointing correctly to roundcubemail-1.6.1 which was upgraded to 1.6.6. The upgrade was applied to the original path where the roundcubemail is linked to (1.6.1 in your case).

If you anyways want to have a single roundcubemail folder, which is the latest codebase, you can remove the symbolic link and rename roundcubemail-1.6.1 to roundcubemail.

# Remove symbolic link
rm -i /opt/www/roundcubemail

# You should see a message, something like:
# rm: remove symbolic link 'roundcubemail'? 
# Type y and enter if it looks correct

# Rename roundcubemail-1.6.1 to roundcubemail
mv /opt/www/roundcubemail-1.6.1 /opt/www/roundcubemail

That was easy. Thank you...