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

addTarget error: File '/root/.zsapi.ini' doesn't exist or not readable #76

Closed
zvikazend opened this issue Oct 29, 2015 · 0 comments
Closed
Labels

Comments

@zvikazend
Copy link
Contributor

Error

/usr/local/zend/bin/zs-client.sh addTarget --target=local --zskey=admin --zssecret=<SECRET> --zsversion=8.0
======================================================================
   The application has thrown an exception!
======================================================================
 Zend\Config\Exception\RuntimeException
 File '/root/.zsapi.ini' doesn't exist or not readable

Same goes for regular user (non-root)

 File '/home/username/.zsapi.ini' doesn't exist or not readable

Manual fix

touch /home/username/.zsapi.ini
run addTarget command again.
@slaff slaff added the bug label Nov 30, 2015
slaff pushed a commit that referenced this issue Nov 30, 2015
@slaff slaff closed this as completed Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants