#13068 closed Task/To do item (fixed)

Roundcube upgrade

Reported by: https://id.mayfirst.org/srevilak Owned by: https://id.mayfirst.org/srevilak
Priority: Medium Component: Tech
Keywords: roundcube, stallman.mayfirst.org Cc:
Sensitive: no

Description

A new version of roundcube is available. We should upgrade.

Date: Mon, 4 Sep 2017 21:46:10 +0200
From: Thomas Bruederli
To: Roundcube Announce List
Cc: Roundcube Users List, Roundcube Dev List
Subject: [Roundcube Announce] Roundcube Webmail Update 1.3.1 released

Dear subscribers

We just published the first service release to update the stable
version 1.3 which is the result of some touching-up on the new
features introduced with the 1.3.0 release. For example it brings back
the double-click behavior to open messages which was reduced to the
list-only view. Or because the switch to change the mail view layout
was a bit hidden, we also added it to the preferences section.

The update also includes fixes to reported bugs and one potential XSS
vulnerability as well as optimizations to smoothly run on the latest
version of PHP.

See the full changelog in the release notes [1] on the Github download page.

This release is considered stable and we recommend to update all
productive installations of Roundcube with this version.
Download it from https://roundcube.net/download.

Please do backup your data before updating!

Best,
Alec & Thomas


[1] https://github.com/roundcube/roundcubemail/releases/tag/1.3.1

Change History (5)

comment:1 Changed 12 months ago by https://id.mayfirst.org/srevilak

  • Owner set to https://id.mayfirst.org/srevilak
  • Status changed from new to assigned

comment:2 Changed 10 months ago by https://id.mayfirst.org/srevilak

Source code preparation

git checkout -b mfpl-release-1.3 origin/release-1.3

# see commits unique to the mfpl-release-1.2 branch
git log origin/release-1.2..mfpl-release-1.2

# cherry pick relevant commits onto mfpl-release-1.3,
# fixing a few minor conflicts along the way
git cherry-pick e73ce1350a3bf818c89ebaeb5293a1030de6f2e5
git cherry-pick 46890c0089efd5c0d7c53bf9f184c5d7bdf2501c
git cherry-pick 3304fe82b20e99930027b5afa2638a1fdbe8fab7
git cherry-pick 549487908762685d8268608841a29a6112fb7f59
git cherry-pick 19edbdd08d11c8dcf3ad0369e1c3ce65b6ff80c2
git cherry-pick 862a5e4cb213ff6dd119b36a955de70509b52bbe

# I think we're in the right ballpark
0 sunny:roundcube$ git diff --name-status origin/release-1.2...mfpl-release-1.2
M       .gitignore
M       .htaccess
A       composer.json
A       composer.phar
A       plugins/managesieve/.gitignore
A       plugins/managesieve/config.inc.php
0 sunny:roundcube$ git diff --name-status origin/release-1.3...mfpl-release-1.3
M       .gitignore
M       .htaccess
A       composer.json
A       composer.phar
A       plugins/managesieve/.gitignore
A       plugins/managesieve/config.inc.php

# changes to composer dependencies
0 sunny:roundcube$ diff -u composer.json composer.json-dist 
--- composer.json       2017-10-21 19:01:24.007577447 -0400
+++ composer.json-dist  2017-10-21 19:14:33.603407388 -0400
@@ -4,40 +4,32 @@
     "license": "GPL-3.0+",
     "repositories": [
         {
-            "type": "pear",
-            "url": "https://pear.php.net/"
-        },
-        {
             "type": "composer",
             "url": "https://plugins.roundcube.net/"
         },
         {
             "type": "vcs",
-            "url": "https://github.com/roundcube/Net_Sieve.git"
-        },
-        {
-            "type": "vcs",
             "url": "https://git.kolab.org/diffusion/PNL/php-net_ldap.git"
         }
     ],
     "require": {
-        "php": ">=5.3.7",
+        "php": ">=5.4.0",
         "pear/pear-core-minimal": "~1.10.1",
+        "pear/net_socket": "~1.2.1",
+        "pear/auth_sasl": "~1.1.0",
+        "pear/net_idna2": "~0.2.0",
+        "pear/mail_mime": "~1.10.0",
+        "pear/net_smtp": "~1.7.1",
+        "pear/crypt_gpg": "~1.6.0",
+        "pear/net_sieve": "~1.4.0",
         "roundcube/plugin-installer": "~0.1.6",
-        "pear-pear.php.net/net_socket": "~1.0.12",
-        "pear-pear.php.net/auth_sasl": "~1.0.6",
-        "pear-pear.php.net/net_idna2": "~0.1.1",
-        "pear-pear.php.net/mail_mime": "~1.10.0",
-        "pear-pear.php.net/net_smtp": "~1.7.1",
-        "pear-pear.php.net/crypt_gpg": "~1.4.2",
-        "roundcube/net_sieve": "~1.5.0"
+        "endroid/qrcode": "~1.6.5"
     },
     "require-dev": {
-        "phpunit/phpunit": "*"
+        "phpunit/phpunit": "~5.7.15"
     },
     "suggest": {
-        "pear-pear.php.net/net_ldap2": "~2.2.0 required for connecting to LDAP address books",
-        "kolab/Net_LDAP3": "dev-master required for connecting to LDAP address books"
-    },
-    "minimum-stability": "dev"
+        "pear/net_ldap2": "~2.2.0 required for connecting to LDAP",
+        "kolab/Net_LDAP3": "dev-master required for connecting to LDAP"
+    }
 }


# On the 1.2 branch, our composer.json was identicial to the
# dist version, so I'll take the dist version.
1 sunny:roundcube$ cp composer.json-dist composer.json
0 sunny:roundcube$ git commit -m "take composer.json from release-1.3 branch" composer.json
[mfpl-release-1.3 40e0926f4] take composer.json from release-1.3 branch
 1 file changed, 13 insertions(+), 21 deletions(-)


# grab the latest version of composer
0 sunny:roundcube$ php composer.phar self-update
Updating to version 1.5.2 (stable channel).
   Downloading (100%)         
Use composer self-update --rollback to return to version 2e9dbb79ef63036090d01b07d005428e05c8a5fc
0 sunny:roundcube$ git commit -m "upgraded composer to 1.5.2" composer.phar 

# Let's tag
0 sunny:roundcube$ git tag -s roundcube-1.3.1-mfpl1

# push
0 sunny:roundcube$ git push gmo mfpl-release-1.3
Counting objects: 2122, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (916/916), done.
Writing objects: 100% (2122/2122), 1.32 MiB | 6.98 MiB/s, done.
Total 2122 (delta 1444), reused 1683 (delta 1145)
To git.mayfirst.org:mfpl/roundcube
 * [new branch]          mfpl-release-1.3 -> mfpl-release-1.3

0 sunny:roundcube$ git push gmo mfpl-release-1.3 --tags
Counting objects: 141, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (70/70), done.
Writing objects: 100% (141/141), 18.81 KiB | 18.81 MiB/s, done.
Total 141 (delta 104), reused 106 (delta 71)
To git.mayfirst.org:mfpl/roundcube
 * [new tag]             1.0.10 -> 1.0.10
 * [new tag]             1.0.11 -> 1.0.11
 * [new tag]             1.1.9 -> 1.1.9
 * [new tag]             1.2.5 -> 1.2.5
 * [new tag]             1.2.6 -> 1.2.6
 * [new tag]             1.3-rc -> 1.3-rc
 * [new tag]             1.3.0 -> 1.3.0
 * [new tag]             1.3.1 -> 1.3.1
 * [new tag]             roundcube-1.3.1-mfpl1 -> roundcube-1.3.1-mfpl1

comment:3 Changed 10 months ago by https://id.mayfirst.org/srevilak

roundcube-dev setup

# database backup
$ pg_dump -v -b -C roundcube-dev | gzip -9 > roundcube-dev.$(date +%F).sql.gz

# fetch code
0 roundcube-code@stallman:/srv/roundcube-dev$ git fetch gmo
remote: Counting objects: 5959, done.
remote: Compressing objects: 100% (1888/1888), done.
remote: Total 5959 (delta 4189), reused 5622 (delta 3872)
Receiving objects: 100% (5959/5959), 2.11 MiB | 0 bytes/s, done.
Resolving deltas: 100% (4189/4189), completed with 495 local objects.
From git://git.mayfirst.org/mfpl/roundcube
   862a5e4..5316fdb  mfpl-release-1.2 -> gmo/mfpl-release-1.2
 * [new branch]      mfpl-release-1.3 -> gmo/mfpl-release-1.3
 * [new tag]         roundcube-1.3.1-mfpl1 -> roundcube-1.3.1-mfpl1
 * [new tag]         1.2.5      -> 1.2.5
 * [new tag]         1.2.6      -> 1.2.6
 * [new tag]         1.3-beta   -> 1.3-beta
 * [new tag]         1.3-rc     -> 1.3-rc
 * [new tag]         1.3.0      -> 1.3.0
 * [new tag]         1.3.1      -> 1.3.1

0 roundcube-code@stallman:/srv/roundcube-dev$ git checkout roundcube-1.3.1-mfpl1
Previous HEAD position was 862a5e4... configuration changes for managesieve
HEAD is now at 4e37678... upgraded composer to 1.5.2

Composer hits some dependency problems

  Problem 1
    - endroid/qrcode 1.6.6 requires ext-gd * -> the requested PHP extension gd is missing from your system.
    - endroid/qrcode 1.6.5 requires ext-gd * -> the requested PHP extension gd is missing from your system.
    - Installation request for endroid/qrcode ~1.6.5 -> satisfiable by endroid/qrcode[1.6.5, 1.6.6].

So, we install php5-gd

0 stallman:~# apt-get install php5-gd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0 libjpeg62-turbo libtiff5
  libvpx1 libxpm4
Suggested packages:
  libgd-tools
The following NEW packages will be installed:
  fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0 libjpeg62-turbo libtiff5
  libvpx1 libxpm4 php5-gd

Next composer problem

  [ErrorException]
  file_put_contents(/srv/roundcube-dev/vendor/bin/crypt-gpg-pinentry): failed to open stream:
   No such file or directory

# it's a dead symlink
0 roundcube-code@stallman:/srv/roundcube-dev$ ls -l /srv/roundcube-dev/vendor/bin/crypt-gpg-pinentry 
lrwxrwxrwx 1 roundcube-code roundcube-code 53 Jul  4  2015 /srv/roundcube-dev/vendor/bin/crypt-gpg-pinentry -> ../pear-pear.php.net/Crypt_GPG/bin/crypt-gpg-pinentry

# Perhaps this is what we want:
1 roundcube-code@stallman:/srv/roundcube-dev$ find /srv/roundcube-dev/vendor/ -name crypt-gpg-pinentry
/srv/roundcube-dev/vendor/pear/crypt_gpg/scripts/crypt-gpg-pinentry
/srv/roundcube-dev/vendor/bin/crypt-gpg-pinentry

# try to fix the symlink
0 roundcube-code@stallman:/srv/roundcube-dev/vendor/bin$ rm crypt-gpg-pinentry 
0 roundcube-code@stallman:/srv/roundcube-dev/vendor/bin$ ln -s ../pear/crypt_gpg/scripts/crypt-gpg-pinentry .
0 roundcube-code@stallman:/srv/roundcube-dev$ php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)                  
Package operations: 27 installs, 0 updates, 0 removals
  - Installing pear/crypt_gpg (v1.6.2): Loading from cache
    Skipped installation of bin scripts/crypt-gpg-pinentry for package pear/crypt_gpg: name conflicts with an existing file
  - Installing endroid/qrcode (1.6.6): Downloading (100%)         
  - Installing symfony/yaml (v3.3.10): Downloading (100%)         
  - Installing sebastian/version (2.0.1): Downloading (100%)         
  - Installing sebastian/resource-operations (1.0.0): Downloading (100%)         
  - Installing sebastian/recursion-context (2.0.0): Downloading (100%)         
  - Installing sebastian/object-enumerator (2.0.1): Downloading (100%)         
  - Installing sebastian/global-state (1.1.1): Downloading (100%)         
  - Installing sebastian/exporter (2.0.0): Downloading (100%)         
  - Installing sebastian/environment (2.0.0): Downloading (100%)         
  - Installing sebastian/diff (1.4.3): Downloading (100%)         
  - Installing sebastian/comparator (1.2.4): Downloading (100%)         
  - Installing doctrine/instantiator (1.0.5): Downloading (100%)         
  - Installing phpunit/php-text-template (1.2.1): Downloading (100%)         
  - Installing phpunit/phpunit-mock-objects (3.4.4): Downloading (100%)         
  - Installing phpunit/php-timer (1.0.9): Downloading (100%)         
  - Installing phpunit/php-file-iterator (1.4.2): Downloading (100%)         
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Downloading (100%)         
  - Installing phpunit/php-token-stream (1.4.11): Downloading (100%)         
  - Installing phpunit/php-code-coverage (4.0.8): Downloading (100%)         
  - Installing webmozart/assert (1.2.0): Downloading (100%)         
  - Installing phpdocumentor/reflection-common (1.0.1): Downloading (100%)         
  - Installing phpdocumentor/type-resolver (0.3.0): Downloading (100%)         
  - Installing phpdocumentor/reflection-docblock (3.2.2): Downloading (100%)         
  - Installing phpspec/prophecy (v1.7.2): Downloading (100%)         
  - Installing myclabs/deep-copy (1.7.0): Downloading (100%)         
  - Installing phpunit/phpunit (5.7.23): Downloading (100%)         
symfony/yaml suggests installing symfony/console (For validating YAML files using the lint command)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
phpunit/phpunit suggests installing ext-xdebug (*)
Writing lock file
Generating autoload files

Let's try again, to avoid the "Skipped installation notice" about crypt-gpg-pinentry.

0 roundcube-code@stallman:/srv/roundcube-dev$ php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)                  
Package operations: 1 install, 0 updates, 0 removals
  - Installing pear/crypt_gpg (v1.6.2): Loading from cache
Generating autoload files
0 roundcube-code@stallman:/srv/roundcube-dev$

Script steps

# From upgrade instructions
# 4c. If you use git sources or the release package without dependencies
#  update javascript dependencies by executing `bin/install-jsdeps.sh` script.

2 roundcube-code@stallman:/srv/roundcube-dev$ php bin/install-jsdeps.sh   
Installing jQuery...
Fetching https://code.jquery.com/jquery-3.2.1.min.js
Wrote file /srv/roundcube-dev/program/js/jquery.min.js
Done.

Installing jsTimezoneDetect...
Fetching https://bitbucket.org/pellepim/jstimezonedetect/raw/6c427658686c664da52c6a87cd62ec910baab276/dist/jstz.min.js
Wrote file /srv/roundcube-dev/program/js/jstz.min.js
Done.

Installing PublicKey.js...
Fetching https://raw.githubusercontent.com/diafygi/publickeyjs/0e011cb18907a1adc0313aa92e69cd8858e1ef66/publickey.js
Wrote file /srv/roundcube-dev/program/js/publickey.js
Done.

Installing tinymce...
Fetching http://download.ephox.com/tinymce/community/tinymce_4.5.8.zip
Installing files /srv/roundcube-dev/temp/js_cache/tinymce-extract/tinymce/js/tinymce into /srv/roundcube-dev/program/js/tinymce
Wrote file /srv/roundcube-dev/program/js/tinymce/tinymce.min.js
Done.

Installing tinymce-langs...
Fetching https://tinymce-services.azurewebsites.net/1/i18n/download?langs=ar,hy,az,eu,be,bs,bg_BG,ca,zh_CN,zh_TW,hr,cs,cs_CZ,da,nl,en_CA,en_GB,eo,et,fo,fi,fr_FR,fr_CH,gd,gl,ka_GE,de,de_AT,el,he_IL,hi_IN,hu_HU,is_IS,id,ga,it,ja,kab,km_KH,ko_KR,ku,ku_IQ,lv,lt,lb,mk_MK,ml_IN,nb_NO,oc,fa,fa_IR,pl,pt_BR,pt_PT,ro,ru,sk,sl_SI,es,es_MX,sv_SE,tg,ta,ta_IN,tt,th_TH,tr,tr_TR,ug,uk,uk_UA,vi,vi_VN,cy
Extracting zip archive into /srv/roundcube-dev/program/js/tinymce
Done.

Installing OpenPGP.js...
Fetching https://raw.githubusercontent.com/openpgpjs/openpgpjs/v1.6.2/dist/openpgp.min.js
Wrote file /srv/roundcube-dev/plugins/enigma/openpgp.min.js
Done.

Installing codemirror...
Fetching http://codemirror.net/codemirror-5.21.0.zip
Installing files /srv/roundcube-dev/temp/js_cache/codemirror-extract/codemirror-5.21.0/lib into /srv/roundcube-dev/plugins/managesieve/codemirror/lib
Installing files /srv/roundcube-dev/temp/js_cache/codemirror-extract/codemirror-5.21.0/addon/selection into /srv/roundcube-dev/plugins/managesieve/codemirror/addon/selection
Installing files /srv/roundcube-dev/temp/js_cache/codemirror-extract/codemirror-5.21.0/mode/sieve into /srv/roundcube-dev/plugins/managesieve/codemirror/mode/sieve
Done.

---------------------------------

0 roundcube-dev@stallman:/srv/roundcube-dev$ php bin/update.sh 
What version are you upgrading from? Type '?' if you don't know.
?
Executing database schema update.
Updating database schema (2016081200)... [OK]
Updating database schema (2016100900)... [OK]
Updating database schema (2016112200)... [OK]
WARNING: unable to update composer.json!
Please replace the 'require' section in your composer.json with the following:
    "require": {
        "php": ">=5.4.0",
        "pear/pear-core-minimal": "~1.10.1",
        "pear/net_socket": "~1.2.1",
        "pear/auth_sasl": "~1.1.0",
        "pear/net_idna2": "~0.2.0",
        "pear/mail_mime": "~1.10.0",
        "pear/net_smtp": "~1.7.1",
        "pear/crypt_gpg": "~1.6.0",
        "pear/net_sieve": "~1.4.0",
        "roundcube/plugin-installer": "~0.1.6",
        "endroid/qrcode": "~1.6.5"
    }

NOTE: Update dependencies by running `php composer.phar update --no-dev`
This instance of Roundcube is up-to-date.
Have fun!

---------------------------------

0 roundcube-dev@stallman:/srv/roundcube-dev$ php bin/indexcontacts.sh 
Indexing contacts for user 1...
Indexing contacts for user 2...
Indexing contacts for user 4...
  ...

Did some testing on roundcube.dev. So far, things look fine.

General notes for production update

  • If composer complains about crypt-gpg-pinentry, just remove the symlink
  • there's a new step: bin/install-jsdeps.sh

comment:4 Changed 10 months ago by https://id.mayfirst.org/srevilak

roundcube.mayfirst.org upgrades

0 roundcube-code@stallman:/srv/roundcube$ git fetch gmo
remote: Counting objects: 5959, done.
remote: Compressing objects: 100% (1888/1888), done.
remote: Total 5959 (delta 4189), reused 5622 (delta 3872)
Receiving objects: 100% (5959/5959), 2.11 MiB | 0 bytes/s, done.
Resolving deltas: 100% (4189/4189), completed with 495 local objects.
From git://git.mayfirst.org/mfpl/roundcube
   862a5e4..5316fdb  mfpl-release-1.2 -> gmo/mfpl-release-1.2
 * [new branch]      mfpl-release-1.3 -> gmo/mfpl-release-1.3
 * [new tag]         roundcube-1.3.1-mfpl1 -> roundcube-1.3.1-mfpl1
 * [new tag]         1.2.5      -> 1.2.5
 * [new tag]         1.2.6      -> 1.2.6
 * [new tag]         1.3-beta   -> 1.3-beta
 * [new tag]         1.3-rc     -> 1.3-rc
 * [new tag]         1.3.0      -> 1.3.0
 * [new tag]         1.3.1      -> 1.3.1
0 roundcube-code@stallman:/srv/roundcube$ git checkout roundcube-1.3.1-mfpl1
Previous HEAD position was 862a5e4... configuration changes for managesieve
HEAD is now at 4e37678... upgraded composer to 1.5.2

0 roundcube-code@stallman:/srv/roundcube$ git checkout roundcube-1.3.1-mfpl1
Previous HEAD position was 862a5e4... configuration changes for managesieve
HEAD is now at 4e37678... upgraded composer to 1.5.2
0 roundcube-code@stallman:/srv/roundcube$ php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 33 installs, 2 updates, 8 removals
  - Removing roundcube/net_sieve (1.5.4)
  - Removing pear-pear.php.net/crypt_gpg (1.4.3)
  - Removing pear-pear.php.net/console_commandline (1.2.2)
  - Removing pear-pear.php.net/mail_mime (1.10.0)
  - Removing pear-pear.php.net/net_smtp (1.7.3)
  - Removing pear-pear.php.net/net_socket (1.0.14)
  - Removing pear-pear.php.net/net_idna2 (0.1.1)
  - Removing pear-pear.php.net/auth_sasl (1.0.6)
  - Updating pear/pear_exception (dev-master 8c18719 => v1.0.0):  Checking out 8c18719fda
  - Installing pear/auth_sasl (v1.1.0): Loading from cache
  - Installing pear/net_idna2 (v0.2.0): Loading from cache
  - Updating pear/net_socket (dev-trunk bbe6a12 => v1.2.1):  Checking out f31d75ac35
  - Installing pear/net_sieve (1.4.0): Loading from cache
  - Installing pear/mail_mime (1.10.1): Loading from cache
  - Installing pear/net_smtp (1.7.3): Loading from cache
  - Installing pear/console_commandline (v1.2.2): Loading from cache
  - Installing pear/crypt_gpg (v1.6.2): Loading from cache


  [ErrorException]
  file_put_contents(/srv/roundcube/vendor/bin/crypt-gpg-pinentry): failed to open stream: No
  such file or directory

1 roundcube-code@stallman:/srv/roundcube$ rm /srv/roundcube/vendor/bin/crypt-gpg-pinentry
0 roundcube-code@stallman:/srv/roundcube$ php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 27 installs, 0 updates, 0 removals
  - Installing pear/crypt_gpg (v1.6.2): Loading from cache
  - Installing endroid/qrcode (1.6.6): Loading from cache
  - Installing symfony/yaml (v3.3.10): Loading from cache
  - Installing sebastian/version (2.0.1): Loading from cache
  - Installing sebastian/resource-operations (1.0.0): Loading from cache
  - Installing sebastian/recursion-context (2.0.0): Loading from cache
  - Installing sebastian/object-enumerator (2.0.1): Loading from cache
  - Installing sebastian/global-state (1.1.1): Loading from cache
  - Installing sebastian/exporter (2.0.0): Loading from cache
  - Installing sebastian/environment (2.0.0): Loading from cache
  - Installing sebastian/diff (1.4.3): Loading from cache
  - Installing sebastian/comparator (1.2.4): Loading from cache
  - Installing doctrine/instantiator (1.0.5): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing phpunit/phpunit-mock-objects (3.4.4): Loading from cache
  - Installing phpunit/php-timer (1.0.9): Loading from cache
  - Installing phpunit/php-file-iterator (1.4.2): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
  - Installing phpunit/php-token-stream (1.4.11): Loading from cache
  - Installing phpunit/php-code-coverage (4.0.8): Loading from cache
  - Installing webmozart/assert (1.2.0): Loading from cache
  - Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
  - Installing phpdocumentor/type-resolver (0.3.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (3.2.2): Loading from cache
  - Installing phpspec/prophecy (v1.7.2): Loading from cache
  - Installing myclabs/deep-copy (1.7.0): Loading from cache
  - Installing phpunit/phpunit (5.7.23): Loading from cache
symfony/yaml suggests installing symfony/console (For validating YAML files using the lint command)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
phpunit/phpunit suggests installing ext-xdebug (*)
Writing lock file
Generating autoload files
0 roundcube-code@stallman:/srv/roundcube$ php bin/install-jsdeps.sh
Installing jQuery...
Fetching https://code.jquery.com/jquery-3.2.1.min.js
Wrote file /srv/roundcube/program/js/jquery.min.js
Done.

Installing jsTimezoneDetect...
Fetching https://bitbucket.org/pellepim/jstimezonedetect/raw/6c427658686c664da52c6a87cd62ec910baab276/dist/jstz.min.js
Wrote file /srv/roundcube/program/js/jstz.min.js
Done.

Installing PublicKey.js...
Fetching https://raw.githubusercontent.com/diafygi/publickeyjs/0e011cb18907a1adc0313aa92e69cd8858e1ef66/publickey.js
Wrote file /srv/roundcube/program/js/publickey.js
Done.

Installing tinymce...
Fetching http://download.ephox.com/tinymce/community/tinymce_4.5.8.zip
Installing files /srv/roundcube/temp/js_cache/tinymce-extract/tinymce/js/tinymce into /srv/roundcube/program/js/tinymce
Wrote file /srv/roundcube/program/js/tinymce/tinymce.min.js
Done.

Installing tinymce-langs...
Fetching https://tinymce-services.azurewebsites.net/1/i18n/download?langs=ar,hy,az,eu,be,bs,bg_BG,ca,zh_CN,zh_TW,hr,cs,cs_CZ,da,nl,en_CA,en_GB,eo,et,fo,fi,fr_FR,fr_CH,gd,gl,ka_GE,de,de_AT,el,he_IL,hi_IN,hu_HU,is_IS,id,ga,it,ja,kab,km_KH,ko_KR,ku,ku_IQ,lv,lt,lb,mk_MK,ml_IN,nb_NO,oc,fa,fa_IR,pl,pt_BR,pt_PT,ro,ru,sk,sl_SI,es,es_MX,sv_SE,tg,ta,ta_IN,tt,th_TH,tr,tr_TR,ug,uk,uk_UA,vi,vi_VN,cy
Extracting zip archive into /srv/roundcube/program/js/tinymce
Done.

Installing OpenPGP.js...
Fetching https://raw.githubusercontent.com/openpgpjs/openpgpjs/v1.6.2/dist/openpgp.min.js
Wrote file /srv/roundcube/plugins/enigma/openpgp.min.js
Done.

Installing codemirror...
Fetching http://codemirror.net/codemirror-5.21.0.zip
Installing files /srv/roundcube/temp/js_cache/codemirror-extract/codemirror-5.21.0/lib into /srv/roundcube/plugins/managesieve/codemirror/lib
Installing files /srv/roundcube/temp/js_cache/codemirror-extract/codemirror-5.21.0/addon/selection into /srv/roundcube/plugins/managesieve/codemirror/addon/selection
Installing files /srv/roundcube/temp/js_cache/codemirror-extract/codemirror-5.21.0/mode/sieve into /srv/roundcube/plugins/managesieve/codemirror/mode/sieve
Done.
0 roundcube@stallman:/srv/roundcube$ php bin/update.sh
What version are you upgrading from? Type '?' if you don't know.
?
Executing database schema update.
Updating database schema (2016081200)... [OK]
Updating database schema (2016100900)... [OK]
Updating database schema (2016112200)... [OK]
WARNING: unable to update composer.json!
Please replace the 'require' section in your composer.json with the following:
    "require": {
        "php": ">=5.4.0",
        "pear/pear-core-minimal": "~1.10.1",
        "pear/net_socket": "~1.2.1",
        "pear/auth_sasl": "~1.1.0",
        "pear/net_idna2": "~0.2.0",
        "pear/mail_mime": "~1.10.0",
        "pear/net_smtp": "~1.7.1",
        "pear/crypt_gpg": "~1.6.0",
        "pear/net_sieve": "~1.4.0",
        "roundcube/plugin-installer": "~0.1.6",
        "endroid/qrcode": "~1.6.5"
    }

NOTE: Update dependencies by running `php composer.phar update --no-dev`
This instance of Roundcube is up-to-date.
Have fun!
0 roundcube@stallman:/srv/roundcube$ time php bin/indexcontacts.sh
Indexing contacts for user 1...
Indexing contacts for user 2...
Indexing contacts for user 3...
  ...
done.

real    22m1.628s
user    4m59.112s
sys     0m7.456s

comment:5 Changed 10 months ago by https://id.mayfirst.org/srevilak

  • Resolution set to fixed
  • Status changed from assigned to closed

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.