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

Column "oc_cas_ticket"."service" is type String, but exceeding the 4.000 length limit. #8

Closed
52 tasks done
mv-stns opened this issue May 8, 2022 · 2 comments
Closed
52 tasks done

Comments

@mv-stns
Copy link

mv-stns commented May 8, 2022

Cant enable CAS Server

Error:

Column "oc_cas_ticket"."service" is type String, but exceeding the 4.000 length limit.

Steps to reproduce

Try install CAS Server & enable it

Expected behavior

Should just be enabled and work

Installation method

Via cli with

php occ app:install cas

Or just via Settings > Apps > CAS Server > Install & Enable

Nextcloud Version

24.0

Operating system

Ubuntu 20.04/ Plesk

PHP version

PHP 8.1

Web server

NGINX

Database engine version

mysql Ver 15.1 Distrib 10.3.34-MariaDB

Is this bug present after an update or on a fresh install?

Fresh Install

Are you using the Nextcloud Server Encryption module?

Yes

List of activated Apps

  • accessibility: 1.10.0
  • activity: 2.16.0
  • admin_audit: 1.14.0
  • announcementcenter: 6.2.0
  • bruteforcesettings: 2.4.0
  • circles: 24.0.0
  • cloud_federation_api: 1.7.0
  • comments: 1.14.0
  • contactsinteraction: 1.5.0
  • dashboard: 7.4.0
  • dav: 1.22.0
  • deck: 1.7.0
  • encryption: 2.12.0
  • federatedfilesharing: 1.14.0
  • federation: 1.14.0
  • files: 1.19.0
  • files_downloadactivity: 1.13.0
  • files_external: 1.16.1
  • files_pdfviewer: 2.5.0
  • files_rightclick: 1.3.0
  • files_sharing: 1.16.2
  • files_trashbin: 1.14.0
  • files_versions: 1.17.0
  • files_videoplayer: 1.13.0
  • firstrunwizard: 2.13.0
  • logreader: 2.9.0
  • lookup_server_connector: 1.12.0
  • nextcloud_announcements: 1.13.0
  • notes: 4.3.1
  • notifications: 2.12.0
  • oauth2: 1.12.0
  • password_policy: 1.14.0
  • photos: 1.6.0
  • privacy: 1.8.0
  • provisioning_api: 1.14.0
  • recommendations: 1.3.0
  • serverinfo: 1.14.0
  • settings: 1.6.0
  • sharebymail: 1.14.0
  • support: 1.7.0
  • survey_client: 1.12.0
  • systemtags: 1.14.0
  • tasks: 0.14.4
  • text: 3.5.1
  • theming: 1.15.0
  • twofactor_backupcodes: 1.13.0
  • twofactor_totp: 6.3.0
  • updatenotification: 1.14.0
  • user_status: 1.4.0
  • viewer: 1.8.0
  • weather_status: 1.4.0
  • workflowengine: 2.6.0
@mziech
Copy link
Owner

mziech commented May 21, 2022

Thanks for the report!

It seems to be caused by nextcloud/server#31679 ... Oracle DB support. The fix is to either reduce the column length to 4000 or drop Oracle support ... 4000 chars should be more than enough, though.

@mziech mziech closed this as completed in a3e6d8d May 26, 2022
@mziech
Copy link
Owner

mziech commented May 26, 2022

I reduced the length of service (callback URL) to 2000 characters, should be enough.

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