[horde] Dev on H6 starts again
Ralf Lang
ralf.lang at gmail.com
Wed May 7 19:35:05 UTC 2025
Hi Michael,
Am 07.05.2025 um 21:15 schrieb Michael Schlueter:
> Hi Torben and Ralf,
>
> On Sunday I have updated my two test systems with composer update and
> since then they are working quite well. They are both running on
> Debian (Arm64 and Amd64), Apache as webserver, PHP (Apache2 Mod 8.2,
> php8.3-fpm), MariaDB, authentication with imp and Dovecot.
>
> One of the systems is running only dev-FRAMEWORK_6_0 packages. Here I
> had a problem to update because horde/Argv has dependencies to other
> horde packages only with alpha packages not dev-FRAMEWORK_6_0 packages
> (horde/cli <https://packagist.org/packages/horde/cli>: ^3,
> horde/exception <https://packagist.org/packages/horde/exception>: ^3,
> horde/translation <https://packagist.org/packages/horde/translation>:
> ^3 horde/util <https://packagist.org/packages/horde/util>: ^3). Had to
> switch to the alpha packages for these four packages.
>
By now the latest alpha release of anything I recently touched is very
close to FRAMEWORK_6_0.
I am aware of the problem, the release tool still needs some additional
work to get the composer.json generation right.
> The other system has only a few dev-FRAMEWORK_6_0 packages. I will try
> to do a new installation tonight with only alpha packages.
>
> Btw. I have seen following warning. May it is easy to fix?
> Got error 'PHP message: PHP Warning: "continue 2" targeting switch is
> equivalent to "break 2". Did you mean to use "continue 3"? in
> /srv/www/horde/vendor/horde/ingo/lib/Script/Imap.php on line 279;
>
I have not yet progressed to ingo as the container setup lacks an email
server. But I will look into it.
> Also ActiveSync works for me without a problem.
>
> Thanks
> Michael
>
> Am 21.04.25 um 22:51 schrieb Torben Dannhauer:
>> Hi Michael, hi all,
>>
>> We still need further developers helping H6 into life.
>>
>> Currently it seems still to be painful manual work to package a
>> proper release. Ralf is working on it.
>>
>> I’m currently cleaning up lots of small issues and basic topics, like
>> I’m proving the Postgres database driver , fixing locks, php8 work
>> and at the moment migration the admin config page from pear to
>> composer based.
>>
>> When this is done and the PRs are merged, it makes sense to test ,
>> wrap further alphas and collect further feedback.
>>
>> The instructions of my approach to install a git based H6 which is
>> easy to upgrade I shared already in this mailinglist.
>>
>> Bigger topics I’m aware of is the currently not working test
>> environment. I have no knowledge in details, I hope Ralf is working
>> on it.
>>
>> Another bigger thing where I can work on are the remaining activeSync
>> and kronolith issues. But there I have a lot to learn still.
>>
>> Greetings Torben
>>
>> Von unterwegs gesendet
>> Sent from mobile
>>
>>
>>> Am 21.04.2025 um 20:57 schrieb Michael Schlueter <michael at johalla.de>:
>>>
>>> Hi Torben und Ralf,
>>>
>>> It's really great you are working on the issues and pull requests.
>>> Will you give us a heads up when it makes sense to do an upgrade on
>>> our tests set ups (FRAMEWORK_6_0 or alpha)? Testing on packages with
>>> alpha releases would be the best because the version number could be
>>> used as reference for issues.
>>>
>>> Thanks a lot
>>> Michael
>>>
>>> Am 12.04.25 um 07:09 schrieb Ralf Lang:
>>>> I have some idea here. We probably lose the token (timeout) and get a
>>>> non-string. Older PHP was more tolerant in this regard. We are
>>>> going to
>>>> need to fix these one by one as we go along.
>>>>
>>>> Torben Dannhauer <torben at dannhauer.info> schrieb am Fr., 11. Apr.
>>>> 2025,
>>>> 23:18:
>>>>
>>>>> Hi Ralph,
>>>>>
>>>>>
>>>>>
>>>>> I have the issue as well. I can observer several things and I
>>>>> think they
>>>>> are related.
>>>>>
>>>>> Here my details:
>>>>>
>>>>>
>>>>>
>>>>> *a)*
>>>>>
>>>>> If I leave my Horde on a tab open for long time and then try to
>>>>> use it
>>>>> again, it fails with internal error.
>>>>>
>>>>>
>>>>>
>>>>> Looking into the logs, I see:
>>>>>
>>>>>
>>>>>
>>>>> 2025-04-11T22:39:18+02:00 EMERG: HORDE [horde] TypeError:
>>>>> htmlspecialchars(): Argument #1 ($string) must be of type string,
>>>>> array
>>>>> given in
>>>>> /var/www/torben/web/horde-deployment/vendor/horde/horde/templates/login/login.inc:12
>>>>>
>>>>>
>>>>> Stack trace:
>>>>>
>>>>> #0
>>>>> /var/www/torben/web/horde-deployment/vendor/horde/horde/templates/login/login.inc(12):
>>>>>
>>>>> htmlspecialchars()
>>>>>
>>>>> #1
>>>>> /var/www/torben/web/horde-deployment/vendor/horde/horde/login.php(422):
>>>>>
>>>>> require('...')
>>>>>
>>>>> #2 {main} [pid 32788 on line 74 of
>>>>> "/var/www/torben/web/horde-deployment/vendor/horde/core/lib/Horde/ErrorHandler.php"]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *b)*
>>>>>
>>>>> I played around with gollem and see the strange URL revealing all
>>>>> array
>>>>> elements of the horde var:
>>>>>
>>>>>
>>>>>
>>>>> https://webmail.dannhauer.de/horde/login.php?*url%5Banchor%5D=&url%5Bparameters%5D%5B_t%5D=1744404421&url%5Bparameters%5D%5B_h%5D=UyLcVK8nxfr8rnGO9E38Nrd6kXk&url%5Braw%5D=1&url%5Burl%5D=https%3A%2F%2Fwebmail.dannhauer.de
>>>>>
>>>>> <http://2Fwebmail.dannhauer.de>%2Fgollem%2F&app=gollem*
>>>>>
>>>>>
>>>>>
>>>>> using gollem with the (freshly added) mobile view throws as well
>>>>> an error
>>>>> with htmlspecialchars(), therefore I added a debug output to see the
>>>>> variable structure:
>>>>>
>>>>> 2025-04-11T22:59:45+02:00 ERR: HORDE [horde] Vars1: Array
>>>>>
>>>>> (
>>>>>
>>>>> [anchor] =>
>>>>>
>>>>> [parameters] => Array
>>>>>
>>>>> (
>>>>>
>>>>> [_t] => 1744405099
>>>>>
>>>>> [_h] => fZpfUwgxGtkGfWkWLJnbTcC2XoE
>>>>>
>>>>> )
>>>>>
>>>>>
>>>>>
>>>>> [raw] => 1
>>>>>
>>>>> [url] => https://webmail.dannhauer.de/gollem/
>>>>>
>>>>> )
>>>>>
>>>>> [pid 50740 on line 51 of
>>>>> "/var/www/torben/web/horde-deployment/vendor/horde/view/lib/Horde/View/Helper/Text.php"]
>>>>>
>>>>>
>>>>> 2025-04-11T22:59:45+02:00 EMERG: HORDE [horde] TypeError:
>>>>> htmlspecialchars(): Argument #1 ($string) must be of type string,
>>>>> array
>>>>> given in
>>>>> /var/www/torben/web/horde-deployment/vendor/horde/view/lib/Horde/View/Helper/Text.php:52
>>>>>
>>>>>
>>>>> Stack trace:
>>>>>
>>>>> #0
>>>>> /var/www/torben/web/horde-deployment/vendor/horde/view/lib/Horde/View/Helper/Text.php(52):
>>>>>
>>>>> htmlspecialchars()
>>>>>
>>>>> #1
>>>>> /var/www/torben/web/horde-deployment/vendor/horde/view/lib/Horde/View/Base.php(427):
>>>>>
>>>>> Horde_View_Helper_Text->h()
>>>>>
>>>>> #2
>>>>> /var/www/torben/web/horde-deployment/vendor/horde/horde/templates/login/smartmobile.html.php(6):
>>>>>
>>>>> Horde_View_Base->__call()
>>>>>
>>>>> #3
>>>>> /var/www/torben/web/horde-deployment/vendor/horde/view/lib/Horde/View.php(31):
>>>>>
>>>>> include('...')
>>>>>
>>>>> #4
>>>>> /var/www/torben/web/horde-deployment/vendor/horde/view/lib/Horde/View/Base.php(567):
>>>>>
>>>>> Horde_View->_run()
>>>>>
>>>>> #5
>>>>> /var/www/torben/web/horde-deployment/vendor/horde/horde/login.php(408):
>>>>>
>>>>> Horde_View_Base->render()
>>>>>
>>>>> #6 {main} [pid 50740 on line 74 of
>>>>> "/var/www/torben/web/horde-deployment/vendor/horde/core/lib/Horde/ErrorHandler.php"]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Solution strategy?*
>>>>>
>>>>> One approach could be to ensure that htmlspecialchars() is always
>>>>> called
>>>>> with a string. But this must be done on all calls, and I’m not
>>>>> sure what
>>>>> the vasic benefit/idea beyond the horde vars is.
>>>>>
>>>>> Therefore I think that this approach is not the best one,
>>>>> especially as
>>>>> the malformed URL needs to be fixed.
>>>>>
>>>>> As you mentioned you have an idea, I hope this information helps
>>>>> you to
>>>>> spot the bug. Lets phone if we should join forces here. For now I
>>>>> work in
>>>>> other corners hoping you’re successful J
>>>>>
>>>>>
>>>>>
>>>>> Thanks, Torben
>>>>>
>>>>>
>>>>>
>>>>> *Von:* Ralf Lang <ralf.lang at gmail.com>
>>>>> *Gesendet:* Freitag, 4. April 2025 21:02
>>>>> *An:* Torben Dannhauer <torben at dannhauer.info>
>>>>> *Cc:* B Simon <simon.buongiorno at gmail.com>; horde at lists.horde.org
>>>>> *Betreff:* Re: [horde] Dev on H6 starts again
>>>>>
>>>>>
>>>>>
>>>>> hi simon, can you please provide a snippet from the horde log? I
>>>>> have an
>>>>> idea what the issue might be.
>>>>>
>>>>>
>>>>>
>>>>> Torben Dannhauer <torben at dannhauer.info> schrieb am Fr., 4. Apr.
>>>>> 2025,
>>>>> 20:17:
>>>>>
>>>>> Hi Simon,
>>>>>
>>>>> The ugly timeout error I have on my side as well. It’s on the todo
>>>>> list.
>>>>>
>>>>> As I migrated from H5 to H6, I had not to reset all clients from
>>>>> scratch.
>>>>> Me and my bubble uses iPhones, I just deleted all of them in the
>>>>> activesync
>>>>> page and they resynced properly.
>>>>>
>>>>>
>>>>>
>>>>> Von unterwegs gesendet
>>>>> Sent from mobile
>>>>>
>>>>>
>>>>>> Am 04.04.2025 um 18:04 schrieb Simon B <simon.buongiorno at gmail.com>:
>>>>>> Hi Torben,
>>>>>>
>>>>>> This is wonderful news! But please do no burn yourself out and ask
>>>>>> for help when you need it.
>>>>>>
>>>>>> I have a minor issue...
>>>>>>
>>>>>> Previously, when I resumed my browser, with my tabs restored, Horde
>>>>>> was ready and waiting for me to enter my password and go.
>>>>>>
>>>>>> Now, I get a rather ugly error .
>>>>>>
>>>>>> A fatal error has occurred
>>>>>>
>>>>>> strrpos(): Argument #1 ($haystack) must be of type string, array
>>>>>> given
>>>>>>
>>>>>> Details have been logged for the administrator.
>>>>>>
>>>>>> And the URL is also weird and not conforming to security best
>>>>>> practice.
>>>>>>
>>>>>>
>>>>> https://webmail.mydomain.net/horde/login.php?url%5Banchor%5D=&url%5Bparameters%5D%5Bpage%5D=mailbox&url%5Bparameters%5D%5B_t%5D=1742920995&url%5Bparameters%5D%5B_h%5D=Fs47Rsr4t2ppqThyHZmudm5gNEU&url%5Braw%5D=1&url%5Burl%5D=https%3A%2F%2Fwebmail.mydomain.net%2Fimp%2Fdynamic.php&horde_logout_token=Z5mLOxaXMWsZCT8eaLoU7vz
>>>>>
>>>>>> Not super important, but might be an easy fix.
>>>>>>
>>>>>> Have a nice weekend.
>>>>>>
>>>>>> Simon B
>>>>>>
>>>>>>
>>>>>> On Sat, 29 Mar 2025 at 18:35, Michael Schlueter <michael at johalla.de>
>>>>> wrote:
>>>>>>> Hi Torben,
>>>>>>>
>>>>>>> Have you had a look at the known issue list in the wiki:
>>>>>>> https://wiki.horde.org/Doc/Dev/H6/Developer/KnownIssues
>>>>>>>
>>>>>>> Thanks
>>>>>>> Michael
>>>>>>>
>>>>>>> Am 29.03.25 um 14:16 schrieb Torben Dannhauer:
>>>>>>>> Hi all,
>>>>>>>> Just a short update: I got/am in contact with Jan and Ralf. I
>>>>>>>> am now
>>>>> added to the maintainer permission level and start slowly the H6
>>>>> development.
>>>>>>>> I added already some fixes for wicked, activesync and horde base.
>>>>>>>> I work on getting deeper oriented in the code base. And for now
>>>>>>>> fix
>>>>> the problems I do observe.
>>>>>>>> If you having fixes to get reviews, please
>>>>>>>> Inform me on the list, as I’m not yet working with the horde
>>>>> bugtracker.
>>>>>>>> Let’s work together to geht H6 into stable state!
>>>>>>>> Greetings, Torben
>>>>>>>> Von unterwegs gesendet
>>>>>>>> Sent from mobile
>>>>>>> --
>>>>>>> Horde mailing list
>>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>>> --
>>>>>> Horde mailing list
>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>> --
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>>
>>>>>
>>>
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
More information about the horde
mailing list