| Summary: | www-apps/ampache-3.8.3 - FastCGI-stderr: PHP message: PHP Fatal error: Uncaught Error: Class 'Gettext\Translator' not found in /var/www/yggdrasil.virt/htdocs/ampache/lib/i18n.php:36 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Daniel Nelson <daniel> |
| Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | Keywords: | PMASKED |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | output of emerge --info | ||
|
Description
Daniel Nelson
2018-05-12 06:31:09 UTC
what happens if you su to the webserver user (presumably using --shell=/bin/bash) and run ./composer.sh and then php composer.phar in the root ampache folder? I don't have either composer.sh or composer.phar in the vhost or package directory and I don't see them anywhere using e-file. It appears this project is using several dependencies that can be installed with dev-php/composer now. Not ideal. I was able to work around it, but this will break if ampache gets upgraded via webapp-config. I had to mkdir /var/www/localhost/htdocs/ampache/lib/{vendor,composer} - then chown those two new folders to my webserver user. Once that is done, and composer is installed, you can chown to your webserver user, cd to the ampache dir, and `composer install`. That pulled in everything that was needed local to the ampache install, and ampache now runs.
I am not a package maintainer, but hopefully one can sort this out the correct way. Hope this helps.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef446edb1a0c915f8b7007be0ae51ffe3e6398f commit 0ef446edb1a0c915f8b7007be0ae51ffe3e6398f Author: Sam James <sam@gentoo.org> AuthorDate: 2020-08-30 03:26:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-08-30 03:26:59 +0000 profiles/package.mask: last-rite www-apps/ampache Bug: https://bugs.gentoo.org/645886 Bug: https://bugs.gentoo.org/655558 Bug: https://bugs.gentoo.org/699834 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+) Package removed. |