[horde] trouble with prefs

Michael J Rubinsky mrubinsk at horde.org
Wed Oct 13 00:00:35 UTC 2021


Quoting A. Schulze <sca at andreasschulze.de>:

> Hello,
>
> I've to migrate an old horde3 instance (yes, shame :-/)  user_prefs  
> are stored in an LDAP-Server.
> A new Horde5 instance operate with these prefs. That works well for  
> new users.
> But existing users get this error:
>
> Horde_Prefs_Scope::serialize() must return a string or NULL
> in /usr/share/php/Horde/Registry.php:1679
>  1. Horde_Registry::appInit() /usr/share/horde/imp/index.php:19
>  2. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:298
>  3. Horde_Registry->_pushAppError() /usr/share/php/Horde/Registry.php:1622
>  4. Horde_Registry::appInit() /usr/share/horde/imp/index.php:19
>  5. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:298
>  6. Horde_Registry->callAppMethod() /usr/share/php/Horde/Registry.php:1617
>  7. Horde_Registry_Application->authenticated()  
> /usr/share/php/Horde/Registry.php:1197
>  8. IMP_Application->_authenticated()  
> /usr/share/php/Horde/Registry/Application.php:108
>  9. IMP_Auth::authenticateCallback()  
> /usr/share/horde/imp/lib/Application.php:134
> 10. IMP_Imap->doPostLoginTasks() /usr/share/horde/imp/lib/Auth.php:243
> 11. IMP_Imap->updateFetchIgnore() /usr/share/horde/imp/lib/Imap.php:344
> 12. IMP_Mailbox::getSpecialMailboxes() /usr/share/horde/imp/lib/Imap.php:354
> 13. IMP_Mailbox_SessionCache->getSpecialMailboxes()  
> /usr/share/horde/imp/lib/Mailbox.php:1364
> 14. IMP_Mailbox::getPref()  
> /usr/share/horde/imp/lib/Mailbox/SessionCache.php:268
> 15. Horde_Prefs->getValue() /usr/share/horde/imp/lib/Mailbox.php:235
> 16. Horde_Prefs->_getScope() /usr/share/php/Horde/Prefs.php:304
> 17. Horde_Prefs->_loadScope() /usr/share/php/Horde/Prefs.php:397
> 18. Horde_Prefs_Cache_HordeCache->store() /usr/share/php/Horde/Prefs.php:472
> 19. serialize() /usr/share/php/Horde/Prefs/Cache/HordeCache.php:62
>
> The error does go away if I delete the impPrefs attribute in the  
> existing LDAP-Server.
> But this don't seem the best solution looking at the huge number of  
> affected LDAP-Users.
>
> I would be happy to here about other strategies :-)


How did you go about migrating the data from Horde 3 to 5.x?

>
> Thanks
> Andreas
>
>
>
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/horde/attachments/20211013/713a6d09/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/horde/attachments/20211013/713a6d09/attachment.sig>


More information about the horde mailing list