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

Exception: Writing to directory /home/sail/.config/psysh is not allowed. #107

Closed
mikebronner opened this issue Apr 17, 2021 · 3 comments
Closed

Comments

@mikebronner
Copy link

mikebronner commented Apr 17, 2021

  • Sail Version: dev-master
  • Laravel Version: 8.37.0
  • PHP Version: 8.0.3
  • Database Driver & Version: Postgres 13

Description:

When trying to run sail tinker I get this error. I also get this error when trying to run php artisan tinker from within the docker container (gained entry through sail shell).

 Writing to directory /home/sail/.config/psysh is not allowed.

  at vendor/psy/psysh/src/ConfigPaths.php:362
    358▕             @\mkdir($dir, 0700, true);
    359▕         }
    360▕ 
    361▕         if (!\is_dir($dir) || !\is_writable($dir)) {
  ➜ 362▕             \trigger_error(\sprintf('Writing to directory %s is not allowed.', $dir), \E_USER_NOTICE);
    363▕ 
    364▕             return false;
    365▕         }
@driesvints
Copy link
Member

dev-master isn't supported.

@mikebronner
Copy link
Author

@driesvints This also happens on 1.4.12.

@driesvints
Copy link
Member

sail tinker works for me:

Screenshot 2021-04-19 at 16 57 44

Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to report back and I'll gladly help you out and re-open this issue.

Thanks

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

2 participants