Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

DB column "oc_queuedtasks.parameters" is too short #1468

Closed
takekoshinet opened this issue Nov 8, 2013 · 2 comments
Closed

DB column "oc_queuedtasks.parameters" is too short #1468

takekoshinet opened this issue Nov 8, 2013 · 2 comments
Labels

Comments

@takekoshinet
Copy link

DB column "oc_queuedtasks.parameters" is too short.

this column is VERCHAR(256) on mysql. OCA\Search_Lucene\Hook::indexFile() save file path to this column with json_encode(),
but json string is shorten when file path is too long.

probably, cannot insert on other DB.

owncloud.log

 {"app":"search_lucene","message":"missing path parameter","level":2,"time":"2013-11-05T01:47:46+00:00"}

I can't find where "oc_queuedtasks.parameters" defined. so I use SQL like this

ALTER TABLE oc_queuedtasks MODIFY COLUMN parameters longtext NOT NULL

Steps to reproduce

  1. make file, path length over 256 chars.

Server configuration

Operating system: CentOS 6.4

Web server: apache 2.2.15

Database: MySQL 5.1.69

PHP version: 5.3.3

ownCloud version: 5.0.12

Logs

ownCloud log (data/owncloud.log)

 {"app":"search_lucene","message":"missing path parameter","level":2,"time":"2013-11-05T01:47:46+00:00"}
@karlitschek
Copy link
Contributor

@butonic

@butonic
Copy link
Contributor

butonic commented Feb 11, 2014

now tracked in owncloud-archive/search_lucene#11

@butonic butonic closed this as completed Feb 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants