Skip to content

Instantly share code, notes, and snippets.

@ilyar
Last active November 16, 2018 08:29
Show Gist options
  • Save ilyar/d508dbefec0a9569d33e to your computer and use it in GitHub Desktop.
Save ilyar/d508dbefec0a9569d33e to your computer and use it in GitHub Desktop.
Troubleshooting

Troubleshooting

tip

# — Command execution in privileged mode

$ — Command execution in user mode

Filesystem

Inotify Watches Limit

# echo "fs.inotify.max_user_watches = 524288"  > /etc/sysctl.d/10-user-watches.conf
# sysctl -p --system

https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit

Permission denied on SSHFS|CurlFtpFS mount

fusermount: failed to open /etc/fuse.conf: Permission denied fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf

sudo adduser $USER fuse && sudo chmod 640 /etc/fuse.conf

composer

GitHub credentials to go over the API rate limit

Could not fetch https://api.github.com/repos/vendor/project, enter your GitHub credentials to go over the API rate limit The credentials will be swapped for an OAuth token stored in ~/.composer/auth.json, your password will not be stored To revoke access to this token you can visit https://github.com/settings/applications

$ composer install --no-interaction

or

Create an OAuth token on GitHub. Read more on Personal API tokens.

$ composer config -g github-oauth.github.com <oauthtoken>

[RuntimeException] Package could not be downloaded, sh: 1: svn: not found

# apt-get install subversion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment