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

Notes API Throws Session Error #802

Closed
Subnet-Masked opened this issue Jan 13, 2022 · 1 comment
Closed

Notes API Throws Session Error #802

Subnet-Masked opened this issue Jan 13, 2022 · 1 comment
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced

Comments

@Subnet-Masked
Copy link

Please make a clear and concise description of what the bug is. Please note, that issues with the Android app have to be reported under https://github.com/stefan-niedermann/nextcloud-notes/issues and issues with Nextcloud's Text app have to be reported under https://github.com/nextcloud/text/issues .

Steps to reproduce

  1. Ask the API a question. (Using CloudNotes IOS in this case)
  2. Observe the Nextcloud logs showing that the API is trying to start a session that already exists.

Expected behaviour

Notes should be returned via the API

Actual behaviour

[PHP] Error: session_start(): Ignoring session_start() because a session is already active at /var/www/nextcloud/lib/private/Session/Internal.php#208

GET /apps/notes/api/v1/notes?pruneBefore=1642090548

Screenshots

If applicable, add screenshots to help explain your problem.

Server

Please complete the following information.

  • Notes app version: 4.3.0
  • Nextcloud version: 23.0.0
  • OS: Debain 11
  • Web server: NGINX
  • PHP version: 8.0
  • Database: MariaDB 10

Nextcloud configuration:

``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "23.0.0.10", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "memcache.local": "\\OC\\Memcache\\Redis", "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "dbindex": 0, "timeout": 1.5 }, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "mail_smtpauthtype": "PLAIN", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "debug": true, "loglevel": 2, "updater.release.channel": "stable", "defaultapp": "dashboard", "logfile": "\/mnt\/nextcloud\/nextcloud.log", "logfilemode": 416, "log_rotate_size": 10485760, "knowledgebaseenabled": false, "has_rebuilt_cache": true, "default_phone_region": "US", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "allow_local_remote_servers": true, "theme": "", "enable_previews": true, "enabledPreviewProviders": [ "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\PDF", "OC\\Preview\\MSOfficeDoc", "OC\\Preview\\JPEG", "OC\\Preview\\PNG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\HEIC", "OC\\Preview\\Movie", "OC\\Preview\\MKV", "OC\\Preview\\MP4", "OC\\Preview\\AVI" ] } } ```

Client

Please complete the following information.

  • Browser (incl. version):
  • OS: IOS 15.1

Log files

Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.

@Subnet-Masked Subnet-Masked added bug Something isn't working need to reproduce Issue that has not been reproduced labels Jan 13, 2022
@korelstar
Copy link
Member

Thanks for your bug report. The mentioned files belong to the Nextcloud server. There were already issues reported to the server repository in the past. It looks like there were/are issues with PHP 8 that affects all apps. I'll close this issue, since there is nothing we can do in the notes app. Please follow the server issues, e.g. nextcloud/server#25806, nextcloud/server#25807, nextcloud/server#28695

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced
Projects
None yet
Development

No branches or pull requests

2 participants