[horde] Composer update error.
Brent
impuser at bitrealm.com
Fri Aug 15 11:41:24 UTC 2025
I have my install owned by the web server, you seem to have some
files owned by root. I also don't have net_dns2 installed in my Horde
installation. I'm not sure it is needed.
brent
Quoting Simon B <simon.buongiorno at gmail.com>:
> Hi All,
>
> today I was brave and decided to try and update.
>
> This is the command I previously used succcessfully
>
> cd /usr/share/2024-composer-horde6; sudo -u www-data composer update
> ;sudo -u www-data composer update horde/bundle ;cd
>
> Most of it seemed okay, but I got these errors at the end.
>
> - Downloading horde/imp (v7.0.0alpha17)
> - Downloading horde/ingo (v4.0.0alpha8)
> - Downloading horde/eventdispatcher (v1.0.0alpha2)
> - Downloading horde/rdo (v3.0.0alpha6)
> - Downloading horde/content (v3.0.0alpha7)
> - Downloading horde/kronolith (v5.0.0alpha9)
> - Downloading horde/mnemo (v5.0.0alpha8)
> - Downloading horde/nag (v5.0.0alpha11)
> - Downloading horde/passwd (v6.0.0alpha4)
> - Downloading horde/test (v3.0.0alpha7)
> - Downloading horde/timeobjects (v3.0.0alpha5)
> - Downloading horde/turba (v5.0.0alpha11)
> 10/46 [======>---------------------] 21% Failed to download
> pear/net_dns2 from dist: /var/www/.composer/cache/files/pear/net_dns2
> does not exist and could not be created.
> Now trying to download from source
> - Syncing pear/net_dns2 (v1.5.5) into cache
> 46/46 [============================] 100%
> In Cache.php line 201:
>
> copy(/var/www/.composer/cache/files/pear/pear/b55e45505a6676b999e8fd5878bf0b44d3a96889.zip):
> Failed to open stream: Permission denied
>
> update [--with WITH] [--prefer-source] [--prefer-dist]
> [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev]
> [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT]
> [--no-autoloader] [--no-suggest] [--no-progress]
> [-w|--with-dependencies] [-W|--with-all-dependencies]
> [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]
> [-a|--classmap-authoritative] [--apcu-autoloader]
> [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX]
> [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs]
> [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs]
> [--] [<packages>...]
>
> Loading composer repositories with package information
> Package "horde/bundle" listed for update is not locked.
> Updating dependencies
> Nothing to modify in lock file
> Installing dependencies from lock file (including require-dev)
> Package operations: 1 install, 45 updates, 3 removals
> - Downloading pear/net_dns2 (v1.5.5)
> - Downloading pear/pear (v1.10.16)
> - Downloading pear/archive_tar (1.6.0)
> 1/3 [=========>------------------] 33% Failed to download
> pear/net_dns2 from dist: /var/www/.composer/cache/files/pear/net_dns2
> does not exist and could not be created.
> Now trying to download from source
> - Syncing pear/net_dns2 (v1.5.5) into cache
> 3/3 [============================] 100%
> In Cache.php line 201:
>
> copy(/var/www/.composer/cache/files/pear/archive_tar/1897c239a2dcc3b4befb04749e217357112a6b15.zip):
> Failed to open stream: Permission denied
>
> update [--with WITH] [--prefer-source] [--prefer-dist]
> [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev]
> [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT]
> [--no-autoloader] [--no-suggest] [--no-progress]
> [-w|--with-dependencies] [-W|--with-all-dependencies]
> [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]
> [-a|--classmap-authoritative] [--apcu-autoloader]
> [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX]
> [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs]
> [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs]
> [--] [<packages>...]
>
> Should I be worried? :)
>
> Is there something I should do?
>
> Maybe it is because for some reason the
> /var/www/.composer/cache/files/pear path is owned by root?
>
> ls /var/www/.composer/cache/files/
> total 28K
> drwxrwxr-- 7 root www-data 4.0K 2025-08-12 15:09:49 ./
> drwxrwxr-- 5 root www-data 4.0K 2025-08-12 15:09:47 ../
> drwxr-xr-x 43 www-data www-data 4.0K 2025-08-12 15:09:51 horde/
> drwxr-xr-x 7 root root 4.0K 2019-12-27 15:17:22 pear/
> drwxr-xr-x 62 root root 4.0K 2019-12-27 15:16:09 pear-pear.horde.org/
> drwxr-xr-x 3 www-data www-data 4.0K 2025-08-12 15:09:47 php81_bc/
> drwxr-xr-x 3 www-data www-data 4.0K 2025-08-12 15:09:49 sabre/
>
> How does it look on your systems?
>
> Simon
> --
> 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