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

Fatal error when trying to run the archive command. #14805

Closed
sixcorners opened this issue Aug 25, 2019 · 1 comment
Closed

Fatal error when trying to run the archive command. #14805

sixcorners opened this issue Aug 25, 2019 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Milestone

Comments

@sixcorners
Copy link

I am getting a fatal error when trying to run console core:archive.

Warning: require(../protected/config/global.php): failed to open stream: No
such file or directory in
/home/public/vendor/php-di/php-di/src/DI/Definition/Source/DefinitionFile.php
on line 56

Fatal error: require(): Failed opening required
'../protected/config/global.php'
(include_path='/home/public/vendor/pear/pear_exception:/home/public/vendor/pear/console_getopt:/home/public/vendor/pear/pear-core-minimal/src:/home/public/vendor/pear/archive_tar:.://usr/local/php/7.2.21-nfsn1/lib/:/usr/local/php/lib/')
in
/home/public/vendor/php-di/php-di/src/DI/Definition/Source/DefinitionFile.php
on line 56
/home/public/console core:archive --url=https://matomo.asdf/
exited with return code 255

My bootstrap.php looks like this

<?php
define('PIWIK_USER_PATH', '../protected');
@tsteur
Copy link
Member

tsteur commented Aug 25, 2019

Hi @sixcorners AFAIK we don't support setting a different path.

@tsteur tsteur closed this as completed Aug 25, 2019
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Aug 25, 2019
@mattab mattab added this to the 3.12.0 milestone Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants