[horde] Tasks

Louis-Philippe Allard lp.allard.1 at gmail.com
Sun Oct 22 15:44:54 UTC 2017


  Quoting Arjen de Korte <arjen+horde at de-korte.org>:

> 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
>> [...]
>> 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
>> [...]
>> 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
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,  
> mail: horde-unsubscribe at lists.horde.org

OK I looked at the paths.  First of all, I installed Horde using the  
procedure explained at Section 3.1 (Installing with PEAR) available at

https://www.horde.org/apps/webmail/docs/INSTALL#installing-with-pear

Then running phpinfo(); from the webinterface and looking at the  
include_path shows:

/var/www/html/horde/lib:.:/usr/share/pear:/usr/share/php

However running "pear config-show" from CLI yields (showing only  
paths, **not** all entries):

Configuration (channel pear.php.net):
=====================================
PEAR documentation directory   doc_dir          /usr/share/doc/pear
PHP extension directory        ext_dir          /usr/lib64/php/modules
Base Horde directory           horde_dir        /usr/share/pear/www/horde
PEAR directory                 php_dir          /usr/share/php
PEAR Installer cache directory cache_dir        /var/cache/php-pear
PEAR configuration file        cfg_dir          /etc/pear
directory
PEAR data directory            data_dir         /usr/share/pear-data
PEAR Installer download        download_dir     /tmp/pear/download
directory
Systems manpage files          man_dir          /usr/share/man
directory
PEAR metadata directory        metadata_dir     /var/lib/pear
PHP CLI/CGI binary             php_bin          /usr/bin/php
PEAR Installer temp directory  temp_dir         /var/tmp
PEAR test directory            test_dir         /usr/share/tests/pear
PEAR www files directory       www_dir          /var/www/html
Signature Handling Program     sig_bin          /usr/bin/gpg
Signature Key Directory        sig_keydir       /etc/pearkeys
User Configuration File        Filename         /root/.pearrc
System Configuration File      Filename         /etc/pear.conf

Im */*really** not in my field of expertise here but can I conclude  
that there is a mismatch in paths?  Shouldnt the paths found by  
phpinfo() in horde point to identical paths in pear show-config?
  Louis-Philippe Allard
lp.allard.1 at gmail.com
Sent using Horde Groupware on GNU/Linux


More information about the horde mailing list