Solved Upgrading Roundcube

Hi,
I am using FreeBSD 11.1-RELEASE.

Code:
# freebsd-version 
11.1-RELEASE-p6

I just ran pkg upgrade, and I got this:

Code:
# pkg upgrade
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100%    944 B   0.9kB/s    00:01   
Fetching packagesite.txz: 100%    6 MiB   6.1MB/s    00:01   
Processing entries: 100%
FreeBSD repository update completed. 26992 packages processed.
All repositories are up to date.
Updating database digests format: 100%
Checking for upgrades (79 candidates): 100%
Processing candidates (79 candidates): 100%
The following 23 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        roundcube: 1.3.1,1 -> 1.3.3,1
        php56-zip: 5.6.31_1 -> 5.6.32
        php56-xml: 5.6.31 -> 5.6.32
        php56-session: 5.6.31 -> 5.6.32
        php56-pdo_mysql: 5.6.31 -> 5.6.32
        php56-pdo: 5.6.31 -> 5.6.32
        php56-openssl: 5.6.31 -> 5.6.32
        php56-mysql: 5.6.31 -> 5.6.32
        php56-mbstring: 5.6.31_1 -> 5.6.32
        php56-json: 5.6.31 -> 5.6.32
        php56-imap: 5.6.31 -> 5.6.32
        php56-iconv: 5.6.31 -> 5.6.32
        php56-filter: 5.6.31 -> 5.6.32
        php56-fileinfo: 5.6.31 -> 5.6.32
        php56-exif: 5.6.31 -> 5.6.32
        php56-dom: 5.6.31 -> 5.6.32
        php56: 5.6.31 -> 5.6.32
        mysql56-server: 5.6.37_1 -> 5.6.38
        mysql56-client: 5.6.37_1 -> 5.6.38
        curl: 7.56.1 -> 7.57.0
        ca_root_nss: 3.32.1 -> 3.34.1

Installed packages to be REINSTALLED:
        libxml2-2.9.4
        libevent-2.1.8

Number of packages to be upgraded: 21
Number of packages to be reinstalled: 2

19 MiB to be downloaded.

Proceed with this action? [y/N]: y

Everything was fine; I have just a doubt about roundcube.
I noticed this in post-install instructions:

Code:
Message from roundcube-1.3.3,1:
---------------------------------------------------------------------
FIRST INSTALLATION

If this is a first installation of RoundCube you have to create
a new database and a db user. Read INSTALL for detailed instructions.

UPGRADING

If you already had a previous version of RoundCube installed,
you should check your config files and DB schema are up-to-date.
Read UPGRADING for detailed instructions.

In other system, generally I used to download RoundCube sources, and run

./bin/installto.sh <TARGET-FOLDER>


How can I proceed in that case?
It seems I have no file modified in my RoundCube installation path (/usr/local/www/roundcube)

Thank you very much
 
Hi,
I am using FreeBSD 11.1-RELEASE.

Code:
# freebsd-version
11.1-RELEASE-p6

I just ran pkg upgrade, and I got this:

Code:
# pkg upgrade
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100%    944 B   0.9kB/s    00:01  
Fetching packagesite.txz: 100%    6 MiB   6.1MB/s    00:01  
Processing entries: 100%
FreeBSD repository update completed. 26992 packages processed.
All repositories are up to date.
Updating database digests format: 100%
Checking for upgrades (79 candidates): 100%
Processing candidates (79 candidates): 100%
The following 23 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        roundcube: 1.3.1,1 -> 1.3.3,1
        php56-zip: 5.6.31_1 -> 5.6.32
        php56-xml: 5.6.31 -> 5.6.32
        php56-session: 5.6.31 -> 5.6.32
        php56-pdo_mysql: 5.6.31 -> 5.6.32
        php56-pdo: 5.6.31 -> 5.6.32
        php56-openssl: 5.6.31 -> 5.6.32
        php56-mysql: 5.6.31 -> 5.6.32
        php56-mbstring: 5.6.31_1 -> 5.6.32
        php56-json: 5.6.31 -> 5.6.32
        php56-imap: 5.6.31 -> 5.6.32
        php56-iconv: 5.6.31 -> 5.6.32
        php56-filter: 5.6.31 -> 5.6.32
        php56-fileinfo: 5.6.31 -> 5.6.32
        php56-exif: 5.6.31 -> 5.6.32
        php56-dom: 5.6.31 -> 5.6.32
        php56: 5.6.31 -> 5.6.32
        mysql56-server: 5.6.37_1 -> 5.6.38
        mysql56-client: 5.6.37_1 -> 5.6.38
        curl: 7.56.1 -> 7.57.0
        ca_root_nss: 3.32.1 -> 3.34.1

Installed packages to be REINSTALLED:
        libxml2-2.9.4
        libevent-2.1.8

Number of packages to be upgraded: 21
Number of packages to be reinstalled: 2

19 MiB to be downloaded.

Proceed with this action? [y/N]: y

Everything was fine; I have just a doubt about roundcube.
I noticed this in post-install instructions:

Code:
Message from roundcube-1.3.3,1:
---------------------------------------------------------------------
FIRST INSTALLATION

If this is a first installation of RoundCube you have to create
a new database and a db user. Read INSTALL for detailed instructions.

UPGRADING

If you already had a previous version of RoundCube installed,
you should check your config files and DB schema are up-to-date.
Read UPGRADING for detailed instructions.

In other system, generally I used to download RoundCube sources, and run

./bin/installto.sh <TARGET-FOLDER>


How can I proceed in that case?
It seems I have no file modified in my RoundCube installation path (/usr/local/www/roundcube)

Thank you very much

You can go to the port's directory, enter make extract, go down the work folder, and read INSTALLING and UPGRADING...

I don't know what Roundcube is, I think it's a webmail thing, probably PHP scripts... if that's so, it was extracted to a default location in /usr/local...
 
It seems I have no file modified in my RoundCube installation path (/usr/local/www/roundcube)
It was updated:
Code:
roundcube: 1.3.1,1 -> 1.3.3,1

Just restart Apache and it should be fine.
 

Hi SirDice, thank you, so I can assume that pkg take care of Roundcube upgrade instructions?
For example:

Code:
Post-Upgrade Activities
-----------------------
1. Check .htaccess settings (some php settings could become required)
2. If you're using build-in addressbook, run indexing script /bin/indexcontacts.sh. <======
..
..

Or, in such case, should I manually do specific task (probably this is more Roundcube related, I just would like to know what is managed by pkg and what is not!)

Thank you very much
 
Hi SirDice, thank you, so I can assume that pkg take care of Roundcube upgrade instructions?
No, you cannot assume that. The package system just installs the files, nothing more, nothing less. If there are any specific upgrade actions to perform (updating the database schema for example) you'll have to do that yourself. Some applications do this automatically the first time you use it. Others require a bit of manual intervention.

For Roundcube I just run the upgrade, restart Apache, and check the site itself. If things aren't working as they should I assume I need to run some specific upgrade script and start reading the release notes. It's probably a good idea if you did this the other way around (read the notes first, then do the upgrade) ;)
 
Back
Top