-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: session_start(): Ignoring session_start() because a session is already active at /var/www/html/nextcloud/lib/private/Session/Internal.php#219 #35930
Comments
Hello and happy new year. |
I am getting almost the same error, except that it is with the Notes app. "user":"XXXXYYYYZZZZ","app":"PHP","method":"GET","url":"/index.php/apps/notes/api/v1/notes?pruneBefore=0","message":"session_start(): Ignoring session_start() because a session is already active at /home/AAAAA/BBB.CCCCCC.com/lib/private/Session/Internal.php#219","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.23.1","version":"25.0.2.3","data":{"app":"PHP"},"id":"sklajdflaku930jf4-Random-letters-and-numbers209840"} And; GET /index.php/apps/notes/api/v1/notes?pruneBefore=0 |
Same here with the Passwords extension for Chrome on Nextcloud 25.0.2 (probably has been like that for quite a while, but only noticed it today since everything runs smoothly - not a blocking error/warning at all): {"reqId":"xxxxxx","level":3,"time":"2023-01-13T20:19:55+00:00","remoteAddr":"xxxxxxxxxxxx","user":"xxxxxx","app":"PHP","method":"POST","url":"/index.php/apps/passwords/api/1.0/password/list","message":"session_start(): Ignoring session_start() because a session is already active at /home/tubemail/nextcloud/lib/private/Session/Internal.php#219","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36","version":"25.0.2.3","data":{"app":"PHP"},"id":"xxxxxxxx"} |
I have the same message, except with Firefox. I am able to supress the message by following the instructions in this link https://help.nextcloud.com/t/a-session-had-already-been-started/81037/11 However, I have to do this every time the server is upgraded. Second, I noticed that there are only errors in my log with relation to me (the administrator). Other users that are also using the passwords extension and there is no data in the logs. This issue has been present for at least a year on my end. |
Passwords and snappymail combo doing this for me. |
Very interesting. I too had snappymail and after uninstalling it the messages stopped. I have corrected the link. which explains how to modify a file called Internal.php that will stop the error message. |
Hello everyone, |
With the link above I was has to workaround the error message. For this reason I close that case. |
I'm running into this as well, indeed having both Passwords (+ FF webextension) and Snappymail installed as an admin. @cmflouis I just don't understand why you marked this report as 'Closed' since IMHO this is a genuine bug which should be fixed upstream, not worked around by re-applying the change to |
@szaimen can you reopen this issue? It has a workaround but no mention of bugfix |
I'm seeing the same message repeated very frequently in my server logs related to the notes app (featured).
There had been an issue filed on the Notes issue tracker, which the devs closed, saying the cause is with PHP 8, it affects all apps, and there isn't anything they can do about it. |
still happening with 26.0.2 |
Hello everyone, |
@cmflouis thank you for reporting this. i'll check with some of my deployments and try to confirm your findings! |
Just to check in, after 27, the '.../Session/Internal.php#219' error, is no more. I would back up the notion the error has been fixed on Nextcloud's end. It might still pop up, but before, it was spamming my logs and I have yet to see it. So I definitely take that as a great sign. |
Thanks for reporting back 👍 |
Bug description
Hello,
First thing first. Happy holiday.
Just a small drop to let you know that I receive this error in my logs.
session_start(): Ignoring session_start() because a session is already active at /var/www/html/nextcloud/lib/private/Session/Internal.php#219
This is happenning every minute or so.
It seems related to 2 apps installed on my server : Snappymail and Password. Why those, because when they are active at the same time that's create this log flood. When only one is active at a time this is not happening.
Steps to reproduce
Expected behavior
No logs flooding with this error.
Installation method
Community Manual installation with Archive
Operating system
RHEL/CentOS
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: