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

Multiple Accounts leading to "open_basedir restriction in effect" #1555

Closed
Terael76 opened this issue Apr 20, 2024 · 3 comments
Closed

Multiple Accounts leading to "open_basedir restriction in effect" #1555

Terael76 opened this issue Apr 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Terael76
Copy link

Describe the bug
i am new to snappymail and i like it. before i am a happy rainloop User.
After i set all up there is a problem after setting up multiple accounts.
When i change the account it leads to "Warning: is_executable(): open_basedir restriction in effect. File(/usr/bin/gpg) is not within the allowed path(s): (/var/www/vhosts/XXX/YYY/:/tmp/:/var/lib/php/sessions:/var/www/vhosts/XXX/tmp) in /var/www/vhosts/XXX/YYY/mail/snappymail/v/2.36.0/app/libraries/snappymail/gpg/base.php on line 487"

login with single accounts did work well.

To Reproduce
Steps to reproduce the behavior:

  1. login
  2. Click top right on account icon
  3. click on another account to change
  4. then i see the error "Warning: is_executable(): open_basedir restriction in effect. File(/usr/bin/gpg) is not within the allowed path(s):
    (/var/www/vhosts/XXX/YYY/:/tmp/:/var/lib/php/sessions:/var/www/vhosts/XXX/tmp) in /var/www/vhosts/XXX/YYY/mail/snappymail/v/2.36.0/app/libraries/snappymail/gpg/base.php on line 487"
    An error occurred.
    Please refresh the page and try again.
    SyntaxError: Unexpected token '<', "
    "... is not valid JSON

Expected behavior
it should change the mail account i use to login.

Screenshots
no screenshot.

Please complete the following information:

  • Browser: MS Edge - Version 123.0.2420.97
  • IMAP daemon: don't know
  • PHP version: 8.1.28
  • SnappyMail Version: 2.36.0
  • Mode: [e.g. standalone, nextcloud, cyberpanel, docker] - standalone

Debug/logging information
log-2024-04-20.txt

Additional context
n/a

the-djmaze pushed a commit that referenced this issue Apr 21, 2024
@the-djmaze
Copy link
Owner

the-djmaze commented Apr 21, 2024

For now go to: Admin -> Security -> Crypto, and disable GnuPG
afbeelding

@Terael76
Copy link
Author

I had already tried this unsuccessfully.
This setting is already deactivated

@the-djmaze the-djmaze added the bug Something isn't working label Apr 22, 2024
@the-djmaze
Copy link
Owner

Changed for next release to ignore the issue and force disable GnuPG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants