-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Snappymail in Nextcloud 25.0.2 on php 8.1 #813
Comments
SnappyMail does not use PHP sessions. I only have PHP 7.4 and 8.2 setups and Nextcloud fails on 8.2, so if you have more details it would be great. |
First thing first. Thank you for your fast reply. Now about this case you won’t be able to test this with php 8.2. Nextcloud is not compatible with that version yet. |
You can start with:
There you will see all network requests. From there you need to dive in the PHP code and trace the route that causes the issue. |
I get it that you are thrown from one project to the other. Your problem is that if (OC::$SERVERROOT) {
error_log('base.php loaded twice: '.print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), true));
} else {
OC::init();
} It would have been better that Nextcloud has these checks, but it doesn't... |
Any luck finding the issue? |
Hi the-djmaze , |
Ok. Don't forget you can use above mentioned change in |
I found the problem and it is Nextcloud internals. So i will close and they need to fix it. |
Thanks @the-djmaze Just for others who may somehow come to this issue. On the User end, this also seems to happen when Snappymail is working in conjunction with other apps. I noticed that it may happen when Snappymail is enabled along with the Notes App and/or the Password app. If I disable the Notes app or Snappymail, the error goes away. Clearly a Nextcloud Server issue, thanks for including your findings in nextcloud/server#36239 Since I also get the same error when I am trying to use NC's new Notes app editor while Snappymail is activated. It has been months and the PR does not seem to be addressed. Thought it would be added by NC 26.0.1. Apparently not, plus the Notes editor is still not fully functional for me. Snappymail active or not. |
Hello,
Just a small drop to let you know that it seems to have an anomaly with snappymail app in nextcloud. It seem related with php 8.1. I don't have this behavior in php 8.0.26
Thank you for your hard work.
Describe the bug
Avery minute on so this line appear in the log when snappymail is active.
session_start(): Ignoring session_start() because a session is already active at /var/www/html/nextcloud/lib/private/Session/Internal.php#219
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No logs errors.
Screenshots
Please complete the following information:
Debug/logging information
session_start(): Ignoring session_start() because a session is already active at /var/www/html/nextcloud/lib/private/Session/Internal.php#219
Additional context
None
The text was updated successfully, but these errors were encountered: