manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: [VOTE] Release Apache ManifoldCF 2.0.2, RC0
Date Fri, 27 Feb 2015 14:56:53 GMT
Hi Erlend,

You cannot upgrade from 1.x to 2.0.  This error occurs when you run MCF 2.0
code on a MCF 1.x database.

Karl


On Fri, Feb 27, 2015 at 9:28 AM, Erlend GarĂ¥sen <e.f.garasen@usit.uio.no>
wrote:

>
> Local tests are running fine, but there is a problem with a table which is
> not properly installed on our Resin Deployment server.
>
> I guess the following command should install the needpriority table? Not
> errors shown runnins this command.
>
> $MCF_HOME/executecommand.sh org.apache.manifoldcf.agents.Install
>
> But the following does not register properly:
>
> $MCF_HOME/executecommand.sh org.apache.manifoldcf.agents.Register
> org.apache.manifoldcf.crawler.system.CrawlerAgent
>
> ERROR: column "needpriority" does not exist
>
> The complete output of the first command is (the output from the other
> with the stacktrace will follow):
>
> Configuration file successfully read
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
> [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:host.name=
> solr-test02.uio.no
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:java.version=1.7.0_75
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:java.vendor=Oracle Corporation
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:java.home=/usit/solr-test02/www/java/jdk1.7.0_75-x86_64/jre
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:java.class.path=.:../lib/mcf-core.jar:../lib/
> mcf-agents.jar:../lib/mcf-pull-agent.jar:../lib/hsqldb-
> 2.3.2.jar:../lib/postgresql-9.1-901.jdbc4.jar:../lib/
> commons-codec-1.9.jar:../lib/commons-collections-3.2.1.jar:
> ../lib/commons-discovery-0.5.jar:../lib/commons-el-1.0.jar:
> ../lib/commons-fileupload-1.2.2.jar:../lib/commons-io-2.1.
> jar:../lib/commons-lang-2.6.jar:../lib/commons-logging-1.
> 1.3.jar:../lib/ecj-4.3.1.jar:../lib/httpclient-4.3.5.jar:../
> lib/httpcore-4.3.2.jar:../lib/jasper-6.0.35.jar:../lib/
> jasper-el-6.0.35.jar:../lib/javax.servlet-api-3.1.0.jar:..
> /lib/json-20090211.jar:../lib/json-simple-1.1.jar:../lib/
> jsp-api-2.1-glassfish-2.1.v20091210.jar:../lib/juli-6.0.
> 35.jar:../lib/log4j-1.2.16.jar:../lib/mail-1.4.5.jar:../
> lib/serializer-2.7.1.jar:../lib/slf4j-api-1.7.7.jar:../
> lib/slf4j-simple-1.7.7.jar:../lib/velocity-1.7.jar:../lib/
> xalan-2.7.1.jar:../lib/xercesImpl-2.10.0.jar:../lib/
> xml-apis-1.4.01.jar:../lib/zookeeper-3.4.6.jar:
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:java.library.path=/local/opt/oraclient10.2/
> product/10.2.0/lib::/usr/java/packages/lib/amd64:/usr/lib64:
> /lib64:/lib:/usr/lib
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:java.io.tmpdir=/tmp
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:java.compiler=<NA>
> [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:os.name
> =Linux
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:os.arch=amd64
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:os.version=2.6.18-400.1.1.el5
> [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:user.name
> =resin
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:user.home=/www/home/resin
> [main] INFO org.apache.zookeeper.ZooKeeper - Client
> environment:user.dir=/usit/solr-test02/www/var/data/mcf/mcf-1/conf
> [main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection,
> connectString=localhost:8349 sessionTimeout=2000
> watcher=org.apache.manifoldcf.core.lockmanager.ZooKeeperConnection$
> ZooKeeperWatcher@37b335b7
> [main-SendThread(localhost.localdomain:8349)] INFO org.apache.zookeeper.ClientCnxn
> - Opening socket connection to server localhost.localdomain/127.0.0.1:8349.
> Will not attempt to authenticate using SASL (unknown error)
> [main-SendThread(localhost.localdomain:8349)] INFO org.apache.zookeeper.ClientCnxn
> - Socket connection established to localhost.localdomain/127.0.0.1:8349,
> initiating session
> [main-SendThread(localhost.localdomain:8349)] INFO org.apache.zookeeper.ClientCnxn
> - Session establishment complete on server localhost.localdomain/127.0.0.
> 1:8349, sessionid = 0x14b3573590c001a, negotiated timeout = 20000
> Agent tables installed
> [Shutdown thread] INFO org.apache.zookeeper.ZooKeeper - Session:
> 0x14b3573590c001a closed
> [main-EventThread] INFO org.apache.zookeeper.ClientCnxn - EventThread
> shut down
>
> Here's the stacktrace from the other command:
>
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database
> exception: SQLException doing query (42703): ERROR: column "needpriority"
> does not exist
>         at org.apache.manifoldcf.core.database.Database$
> ExecuteQueryThread.finishUp(Database.java:702)
>         at org.apache.manifoldcf.core.database.Database.
> executeViaThread(Database.java:728)
>         at org.apache.manifoldcf.core.database.Database.
> executeUncachedQuery(Database.java:771)
>         at org.apache.manifoldcf.core.database.Database$
> QueryCacheExecutor.create(Database.java:1444)
>         at org.apache.manifoldcf.core.cachemanager.CacheManager.
> findObjectsAndExecute(CacheManager.java:146)
>         at org.apache.manifoldcf.core.database.Database.
> executeQuery(Database.java:191)
>         at org.apache.manifoldcf.core.database.DBInterfacePostgreSQL.
> performModification(DBInterfacePostgreSQL.java:659)
>         at org.apache.manifoldcf.core.database.DBInterfacePostgreSQL.
> performAddIndex(DBInterfacePostgreSQL.java:496)
>         at org.apache.manifoldcf.core.database.BaseTable.
> performAddIndex(BaseTable.java:139)
>         at org.apache.manifoldcf.crawler.jobs.JobQueue.install(
> JobQueue.java:279)
>         at org.apache.manifoldcf.crawler.jobs.JobManager.install(
> JobManager.java:100)
>         at org.apache.manifoldcf.crawler.system.ManifoldCF.
> installSystemTables(ManifoldCF.java:619)
>         at org.apache.manifoldcf.crawler.system.CrawlerAgent.install(
> CrawlerAgent.java:116)
>         at org.apache.manifoldcf.agents.agentmanager.AgentManager.
> registerAgent(AgentManager.java:146)
>         at org.apache.manifoldcf.agents.Register.doExecute(Register.
> java:42)
>         at org.apache.manifoldcf.agents.BaseAgentsInitializationComman
> d.execute(BaseAgentsInitializationCommand.java:37)
>         at org.apache.manifoldcf.agents.Register.main(Register.java:58)
> Caused by: org.postgresql.util.PSQLException: ERROR: column
> "needpriority" does not exist
>         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(
> QueryExecutorImpl.java:2102)
>         at org.postgresql.core.v3.QueryExecutorImpl.processResults(
> QueryExecutorImpl.java:1835)
>         at org.postgresql.core.v3.QueryExecutorImpl.execute(
> QueryExecutorImpl.java:257)
>         at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(
> AbstractJdbc2Statement.java:500)
>         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(
> AbstractJdbc2Statement.java:374)
>         at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(
> AbstractJdbc2Statement.java:366)
>         at org.apache.manifoldcf.core.database.Database.execute(
> Database.java:863)
>         at org.apache.manifoldcf.core.database.Database$
> ExecuteQueryThread.run(Database.java:683)
>
> Erlend
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message