[horde] Tasks
Arjen de Korte
arjen+horde at de-korte.org
Sun Oct 22 07:51:25 UTC 2017
Citeren Louis-Philippe Allard <lp.allard.1 at gmail.com>:
> Quoting Arjen de Korte <arjen+horde at de-korte.org>:
>
>> Citeren Louis-Philippe Allard <lp.allard.1 at gmail.com>:
>>
>>> Quoting Jan Schneider <jan at horde.org>:
>>>
>>>> Zitat von Louis-Philippe Allard <lp.allard.1 at gmail.com>:
>>>>
>>>>> Hello Maillist
>>>>>
>>>>> After I have run a pear upgrade of my horde webmail setup, now
>>>>> when I tick the complete checkbox in the tasks list or actually
>>>>> open the task and click the Complete button, I get a blank
>>>>> (white) page with the following URL
>>>>>
>>>>> https://mailserver/horde/nag/task/complete.php?url&task=XXXXXXXXXXXXXXXXXXX&tasklist=XXXXXXXXXXXXXXXXXXX
>>>>>
>>>>> A refresh (F5) loads the same blank page, but seems to mark the
>>>>> task as Complete. If another horde window is opened (Mail, etc)
>>>>> then a green tooltip appears saying "Task... is now complete".
>>>>>
>>>>> Another issue with tasks is that the above happened for sub
>>>>> tasts, but for a main task, I noticed the green tooltip saying
>>>>> the task was complete but the task remains in the list even
>>>>> after a page reload or refresh. The only actual way to remove
>>>>> it from the list is either delete it or open it then tick the
>>>>> "Completed?" checkbox just above the Save button..
>>>>>
>>>>> Any help would be appreciated, I extensively use the task
>>>>> feature and this is irritating. FYI nothing has changed on the
>>>>> OS side or the client side (browser, OS, etc).
>>>>>
>>>>> *******
>>>>> From horde.log:
>>>>>
>>>>> Oct 14 14:50:51 mailserver HORDE: [nag] PHP ERROR:
>>>>> call_user_func_array() expects parameter 1 to be a valid
>>>>> callback, class 'Horde_Deprecated' does not have a method
>>>>> 'signUrl' [pid 11484 on line 1196 of "/usr/share/pear/Horde.php"]
>>>>> Oct 14 14:50:51 mailserver HORDE: [nag] PHP ERROR:
>>>>> call_user_func_array() expects parameter 1 to be a valid
>>>>> callback, class 'Horde_Deprecated' does not have a method
>>>>> 'signUrl' [pid 11484 on line 1196 of "/usr/share/pear/Horde.php"]
>>>>>
>>>>> [ at least hundreds of identical lines as above]
>>>>>
>>>>> Oct 14 14:51:32 mailserver HORDE: [nag] PHP ERROR:
>>>>> call_user_func_array() expects parameter 1 to be a valid
>>>>> callback, class 'Horde_Deprecated' does not have a method
>>>>> 'verifySignedUrl' [pid 11475 on line 1196 of
>>>>> "/usr/share/pear/Horde.php"]
>>>>> *******
>>>>>
>>>>> Thanks!
>>>>> Louis-Philippe Allard
>>>>> lp.allard.1 at gmail.com
>>>>> Sent using Horde Groupware on GNU/Linux
>>>>
>>>> This has been fixed three releases ago:
>>>> https://bugs.horde.org/ticket/14678
>>>>
>>>> --
>>>> Jan Schneider
>>>> The Horde Project
>>>> https://www.horde.org/
>>>>
>>>> --
>>>> Horde mailing list
>>>> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,
>>>> mail: horde-unsubscribe at lists.horde.org
>>>
>>> OK I have tried again to upgrade webmail:
>>>
>>> [root at mail tempuser]# pear upgrade -a -B horde/webmail
>>> Nothing to upgrade
>>
>> Of course. This will only upgrade the horde/webmail package and
>> (see below) this is up-to-date.
>>
>>> Then from the webinterface, you can clearly see most packages are
>>> outdated but pear **wont** let me update. Whats going on? Surely
>>> there is something to do?
>>
>> If you want to upgrade *all* horde packages, you should specify the
>> channel, rather than a specific package:
>>
>> pear upgrade -c horde
>>
>> It may be helpful to familiarize yourself with pear:
>>
>> pear help
>> pear help upgrade
>>
>>> Horde Groupware Webmail Edition 5.2.22 Module is up-to-date.
>>> Address Book (turba) 4.2.21 Module is up-to-date.
>>> Bookmarks (trean) 1.1.9 Module is up-to-date.
>>> Calendar (kronolith) 4.2.23 Module is up-to-date.
>>> [...]
>>> Horde_Xml_Wbxml 2.0.1 A newer version (2.0.3) exists.
>>> webmail 5.2.3 A newer version (5.2.22) exists.
>>> Louis-Philippe Allard
>>> lp.allard.1 at gmail.com
>>> Sent using Horde Groupware on GNU/Linux
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,
>> mail: horde-unsubscribe at lists.horde.org
>
>
> Many thanks for replying. It actually helped to understand how the
> channel is structured and the Horde framework is built. However, I
> still cannot upgrade the packages.
>
> Running "pear remote-list -c horde" gives
>
> Channel horde Available packages:
> =================================
> Package Version
> Horde_ActiveSync 2.38.8
> Horde_Alarm 2.2.10
> Horde_Argv 2.1.0
> Horde_Auth 2.2.2
> Horde_Autoloader 2.1.2
> Horde_Autoloader_Cache 2.1.3
> Horde_Backup -n/a-
> Horde_Browser 2.0.15
> Horde_Cache 2.5.5
> Horde_Cli 2.2.4
> Horde_Cli_Application -n/a-
> Horde_Cli_Modular 2.1.0
> Horde_Compress 2.2.1
> Horde_Compress_Fast 1.1.1
> Horde_Constraint 2.0.3
> Horde_Controller 2.0.4
> Horde_Core 2.31.0
> Horde_Crypt 2.7.11
> Horde_Crypt_Blowfish 1.1.2
> Horde_CssMinify 1.0.4
> Horde_Css_Parser 1.0.11
> Horde_Data 2.1.4
> Horde_DataTree 2.0.1
> Horde_Date 2.4.1
> Horde_Date_Parser 2.0.6
> Horde_Dav 1.1.4
> Horde_Db 2.4.0
> Horde_Editor 2.0.5
> Horde_ElasticSearch 1.0.4
> Horde_Exception 2.0.8
> Horde_Feed 2.0.4
> Horde_Form 2.0.18
> Horde_Group 2.1.1
> Horde_HashTable 1.2.6
> Horde_History 2.3.6
> Horde_Http 2.1.7
> Horde_Icalendar 2.1.7
> Horde_Idna 1.1.1
> Horde_Image 2.5.2
> Horde_Imap_Client 2.29.15
> Horde_Imsp 2.0.10
> Horde_Injector 2.0.5
> Horde_Itip 2.1.2
> Horde_JavascriptMinify 1.1.5
> Horde_JavascriptMinify_Jsmin 1.0.2
> Horde_Kolab_Cli -n/a-
> Horde_Kolab_Format 2.0.9
> Horde_Kolab_Server 2.0.5
> Horde_Kolab_Session 2.0.3
> Horde_Kolab_Storage 2.2.3
> Horde_Ldap 2.4.0
> Horde_ListHeaders 1.2.5
> Horde_Lock 2.1.4
> Horde_Log 2.3.0
> Horde_LoginTasks 2.0.7
> Horde_Mail 2.6.4
> Horde_Mail_Autoconfig 1.0.3
> Horde_ManageSieve 1.0.2
> Horde_Mapi 1.0.8
> Horde_Memcache 2.1.1
> Horde_Mime 2.10.3
> Horde_Mime_Viewer 2.2.2
> Horde_Mongo 1.1.0
> Horde_Nls 2.2.1
> Horde_Notification 2.0.4
> Horde_Oauth 2.0.4
> Horde_OpenXchange 1.0.1
> Horde_Pack 1.0.7
> Horde_Pdf 2.0.7
> Horde_Pear -n/a-
> Horde_Perms 2.1.7
> Horde_Prefs 2.9.0
> Horde_Queue 1.1.5
> Horde_Rdo 2.1.0
> Horde_Release 3.0.2
> Horde_Role 1.0.1
> Horde_Routes 2.0.5
> Horde_Rpc 2.1.8
> Horde_Scheduler 2.0.3
> Horde_Scribe 2.0.3
> Horde_Secret 2.0.6
> Horde_Serialize 2.0.5
> Horde_Service_Facebook 2.0.10
> Horde_Service_Gravatar 1.0.1
> Horde_Service_Twitter 2.1.6
> Horde_Service_UrlShortener 2.0.3
> Horde_Service_Weather 2.5.4
> Horde_SessionHandler 2.2.9
> Horde_Share 2.2.0
> Horde_Smtp 1.9.5
> Horde_Socket_Client 2.1.1
> Horde_SpellChecker 2.1.3
> Horde_Sql -n/a-
> Horde_Stream 1.6.3
> Horde_Stream_Filter 2.0.4
> Horde_Stream_Wrapper 2.1.3
> Horde_Stringprep 1.0.4
> Horde_Support 2.2.0
> Horde_SyncMl 2.0.7
> Horde_Template 2.0.3
> Horde_Test 2.6.3
> Horde_Text_Diff 2.2.0
> Horde_Text_Filter 2.3.5
> Horde_Text_Filter_Csstidy 2.0.1
> Horde_Text_Filter_Jsmin 1.0.2
> Horde_Text_Flowed 2.0.3
> Horde_Thrift 2.0.3
> Horde_Timezone 1.1.0
> Horde_Token 2.0.9
> Horde_Translation 2.2.2
> Horde_Tree 2.0.5
> Horde_Url 2.2.6
> Horde_Util 2.5.8
> Horde_Vfs 2.4.0
> Horde_View 2.0.6
> Horde_Xml_Element 2.0.4
> Horde_Xml_Wbxml 2.0.3
> Horde_Yaml 2.0.6
> ansel 3.0.8
> content 2.0.6
> gollem 3.0.12
> groupware 5.2.22
> horde 5.2.17
> horde_lz4 1.0.10
> imp 6.2.21
> ingo 3.2.16
> kronolith 4.2.23
> mnemo 4.2.14
> nag 4.2.17
> passwd 5.0.7
> sesha -n/a-
> timeobjects 2.1.4
> trean 1.1.9
> turba 4.2.21
> webmail 5.2.22
> whups 3.0.12
> wicked 2.0.8
>
> Which matches what's on the admin page. Then I ran "pear upgrade -c
> horde" which upgraded only a handful of packages:
>
> Did not download optional dependencies: horde/Horde_Ldap, use
> --alldeps to download automatically
> Did not download optional dependencies: horde/Horde_Backup,
> horde/Horde_Ldap, use --alldeps to download automatically
> horde/Horde_Prefs can optionally use package "horde/Horde_Ldap"
> (version >= 2.0.0, version <= 3.0.0alpha1, excluded versions:
> 3.0.0alpha1)
> horde/Horde_Core can optionally use package "horde/Horde_Backup"
> (version >= 1.0.0, version <= 2.0.0alpha1, excluded versions:
> 3.0.0alpha1)
> horde/Horde_Core can optionally use package "horde/Horde_Ldap"
> (version >= 2.0.0, version <= 3.0.0alpha1, excluded versions:
> 3.0.0alpha1)
> horde/Horde_Rpc can optionally use PHP extension "soap"
> horde/Horde_Rpc can optionally use PHP extension "xmlrpc"
> downloading Horde_Thrift-2.0.3.tgz ...
> Starting to download Horde_Thrift-2.0.3.tgz (22,696 bytes)
> ........done: 22,696 bytes
> downloading Horde_Scribe-2.0.3.tgz ...
> Starting to download Horde_Scribe-2.0.3.tgz (5,106 bytes)
> ...done: 5,106 bytes
> downloading Horde_Share-2.2.0.tgz ...
> Starting to download Horde_Share-2.2.0.tgz (61,899 bytes)
> ...done: 61,899 bytes
> downloading Horde_Prefs-2.9.0.tgz ...
> Starting to download Horde_Prefs-2.9.0.tgz (54,916 bytes)
> ...done: 54,916 bytes
> downloading Horde_Crypt-2.7.11.tgz ...
> Starting to download Horde_Crypt-2.7.11.tgz (154,850 bytes)
> ...done: 154,850 bytes
> downloading Horde_Core-2.31.0.tgz ...
> Starting to download Horde_Core-2.31.0.tgz (1,662,583 bytes)
> ...done: 1,662,583 bytes
> downloading Horde_Rpc-2.1.8.tgz ...
> Starting to download Horde_Rpc-2.1.8.tgz (39,096 bytes)
> ...done: 39,096 bytes
> downloading Horde_Scheduler-2.0.3.tgz ...
> Starting to download Horde_Scheduler-2.0.3.tgz (14,072 bytes)
> ...done: 14,072 bytes
> downloading whups-3.0.12.tgz ...
> Starting to download whups-3.0.12.tgz (1,309,833 bytes)
> ...done: 1,309,833 bytes
> upgrade ok: channel://pear.horde.org/Horde_Thrift-2.0.3
> upgrade ok: channel://pear.horde.org/Horde_Share-2.2.0
> upgrade ok: channel://pear.horde.org/Horde_Prefs-2.9.0
> upgrade ok: channel://pear.horde.org/Horde_Crypt-2.7.11
> upgrade ok: channel://pear.horde.org/Horde_Scribe-2.0.3
> upgrade ok: channel://pear.horde.org/Horde_Core-2.31.0
> upgrade ok: channel://pear.horde.org/Horde_Rpc-2.1.8
> upgrade ok: channel://pear.horde.org/Horde_Scheduler-2.0.3
> upgrade ok: channel://pear.horde.org/whups-3.0.12
The above is useless. This is what is available from remote and we
already know that.
> Finally, I tried re-running the same command with "--alldeps", and got:
>
> Nothing to upgrade in channel "horde"
As expected, you just ran a (successful) upgrade, so all installed
packages should be up-to-date (and they are).
> I tried numerous other switches from the "pear help" and "pear help
> upgrade" but none are upgrading anything.
Most likely Horde is not using the packages you just upgraded. Could
it be that you have previously installed Horde through distribution
provided RPM packages or something like that? I'm almost sure, you'll
have a different location where Horde looks for PEAR packages and it
is not the same location your 'pear upgrade' is using.
From the 'PHP shell' in the adminstration panel of your Horde
installation, run the following command:
phpinfo();
Look for the 'include_path' in the Core. There will be two columns,
the left one is showing what Horde is using. This is not what PEAR is
using. See the output of
pear config-show
More information about the horde
mailing list