[horde] horde 5 to 6 login URL still H5 path
Brent
impuser at bitrealm.com
Mon Feb 27 14:53:16 UTC 2023
Quoting Frank Lienhard <frank at mclien.de>:
> On 2/26/23 13:14, Frank Lienhard wrote:
>> Hi,
>>
>> I'm doing a reinstall of my horde. since this is an shared hosting,
>> my installation path is ~/horde, which lead to this URL with H5 was:
>> my.tld/horde[1]
>>
>> which gave me the login screen.
>>
>> I followed these howtos:
>> https://github.com/horde/horde-deployment#readme (for general
>> composer install)
>> https://wiki.horde.org/Doc/Dev/H6/Installation/UpgradeH5Release?version=4
>> (for the DB migration)
>>
>> I did edit the composer.json to have all my previous apps.
>> I copied all conf.php file.
>> Then I did run the
>> "./vendor/bin/horde-db-migrate up"
>> I get this info several times:
>> [ INFO ] Migrating DB up.
>> [26-Feb-2023 12:42:29 Europe/Berlin] PHP Deprecated: Creation of
>> dynamic property ErrorException::$logged is deprecated in
>> /var/www/virtual/iibi/html/horde/vendor/horde/core/lib/Horde/Core/Log/Object.php on line
>> 231
>> As this seems to be info only, I then did:
>> "composer horde-reconfigure"
>>
>> As I understand the new login URL should be:
>> my.tld/horde/web/login.php[2]
>>
>> I do get a login page (rudimentary), but the login attempt always,
>> jumps to this URL:
>> my.tld/horde/login.php[3] which ends with:
>> "The requested URL was not found on this server."
>>
>> Which obviously is right.
>> I guess I missed some obvious config file, but don't know which....
>>
>> Thankful for any hints.
>
> I just learnt that I missed the part where Documentroot must be the
> web/ subdir.
> I fixed that and logged in to the admin interface:
> my.tld/horde/admin/config[4]
> I was able to log in and updated all configs that were marked outdated.
>
> However I get an internal server Error every time I want to use one
> of the applications (like calendar, addressbook, tasks etc).
>
> here is my composer.json in case I missed some app to install.
> ------------------
> {
> "name": "horde/bundle",
> "description": "A base project for a horde installation",
> "type": "project",
> "repositories": {
> "0": {
> "url": "https://horde-satis.maintaina.com",
> "type": "composer"
> }
> },
> "require": {
> "composer-plugin-api": "^2.0",
> "horde/horde-installer-plugin": "^2.5.1 || dev-FRAMEWORK_6_0
> || dev-master",
> "horde/horde": "^6 || dev-FRAMEWORK_6_0",
> "horde/routes": "^3 || dev-FRAMEWORK_6_0",
> "horde/hordectl": "^1 || dev-FRAMEWORK_6_0 || dev-master",
> "pear/console_color2": "^0.1.2",
> "pear/console_table": "^1.3",
> "horde/content": "dev-FRAMEWORK_6_0",
> "horde/gollem": "dev-FRAMEWORK_6_0",
> "horde/kronolith": "dev-FRAMEWORK_6_0",
> "horde/mnemo": "dev-FRAMEWORK_6_0",
> "horde/nag": "dev-FRAMEWORK_6_0",
> "horde/passwd": "dev-FRAMEWORK_6_0",
> "horde/turba": "dev-FRAMEWORK_6_0"
> },
> "require-dev": {
> "horde/test": "^3 || dev-FRAMEWORK_6_0 || dev-master"
> },
> "license": "GPL-3.0-only",
> "authors": [
> {
> "name": "Ralf Lang",
> "email": "lang at b1-systems.de"
> }
> ],
> "minimum-stability": "dev",
> "prefer-stable": true,
> "extra": {
> "installer-types": [
> "horde-library",
> "horde-application"
> ]
> },
> "config": {
> "allow-plugins": {
> "horde/horde-installer-plugin": true
> }
> }
> }
>
You can turn on logging if you're able to get to the config page. It's
under "Horde->Logging". Crank up logging and see what's happening. On
the config page, I assume your db schemas are all shown as up to date?
Enable the "test.php" page and see if that shows anything interesting.
It's in the conf.php in <install-dir>/web/horde/config/conf.php.
brent
Links:
------
[1] http://my.tld/horde
[2] http://my.tld/horde/web/login.php
[3] http://my.tld/horde/login.php
[4] http://my.tld/horde/admin/config
More information about the horde
mailing list