Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing php74-tokenizer dependency #248

Open
xev-pcjc opened this issue Aug 25, 2020 · 0 comments
Open

Missing php74-tokenizer dependency #248

xev-pcjc opened this issue Aug 25, 2020 · 0 comments

Comments

@xev-pcjc
Copy link

Discovered that occ check doesn't work without the above package:

root@nextcloud_2:~ # occ app:check accessibility
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
Nextcloud is in maintenance mode - no apps have been loaded

An unhandled exception has been thrown:
Error: Undefined constant 'T_DOUBLE_COLON' in /usr/local/www/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/Lexer.php:385
Stack trace:
#0 /usr/local/www/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/Lexer.php(38): PhpParser\Lexer->createTokenMap()
#1 /usr/local/www/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php(39): PhpParser\Lexer->__construct(Array)
#2 /usr/local/www/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/ParserFactory.php(23): PhpParser\Lexer\Emulative->__construct()
#3 /usr/local/www/nextcloud/lib/private/App/CodeChecker/CodeChecker.php(60): PhpParser\ParserFactory->create(3)
#4 /usr/local/www/nextcloud/core/Command/App/CheckCode.php(95): OC\App\CodeChecker\CodeChecker->__construct(Object(OC\App\CodeChecker\StrongComparisonCheck), true)
#5 /usr/local/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\App\CheckCode->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(1012): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\App\CheckCode), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /usr/local/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /usr/local/www/nextcloud/console.php(100): OC\Console\Application->run()
#11 /usr/local/www/nextcloud/occ(11): require_once('/usr/local/www/...')
#12 {main}root@nextcloud_2:~ #

IgorC-test pushed a commit to IgorC-test/iocage-ix-plugins that referenced this issue Jul 26, 2022
)

* Update for newest version of Sickchill that uses virtualenv

* don't need the cryptography package since we are compiling manually
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant