Unable to initialize new project

Hi,

I have installed upsource on my WIndows 10 PC for trial. However, after adding projects, each project fails to initialize. The status remains at "Initializing" for many hours. In the log file "upsouce-frontend/all.log" I see that it failed shortly after starting. Log fragment shown below:

 

[2018-03-08 09:58:08,637] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca driver.InitGlobalDriverWrapper - Finished: 'init-commits-graph' for project 'systems-engineering-plc-anca' in 38s
[2018-03-08 09:58:08,656] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca driver.InitGlobalDriverWrapper - Finished: 'constituents' for project 'systems-engineering-plc-anca' in 19ms
[2018-03-08 09:58:08,731] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca .multi.init.InitContentsDriver - Created 22194 tasks to build files in project systems-engineering-plc-anca
[2018-03-08 09:58:09,084] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported <null>->cb2cf88267d71c45de26f6fd0197a7b42f4a15dc @1997-Nov-17 11:19:11 {vcsTime[58ms], } for 139ms
[2018-03-08 09:58:09,095] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported cb2cf88267d71c45de26f6fd0197a7b42f4a15dc->de720cd94daa7e81b4095aa1cf23942e4fd8f1c5 @1997-Nov-17 11:19:11 {vcsTime[0ms], } for 4ms
[2018-03-08 09:58:09,543] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported de720cd94daa7e81b4095aa1cf23942e4fd8f1c5->b64bf343bb036b48bf7c2db54d0fcbe8eb07992f @1998-Apr-28 15:27:58 {vcsTime[128ms], writeFile[9 calls, traffic 27kb]} for 448ms
[2018-03-08 09:58:09,689] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported b64bf343bb036b48bf7c2db54d0fcbe8eb07992f->f4d7280978e37ddbca6038496ea935b82ddb8cf6 @1998-Apr-28 15:28:11 {vcsTime[62ms], writeFile[63 calls, traffic 641kb]} for 146ms
[2018-03-08 09:58:09,733] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported f4d7280978e37ddbca6038496ea935b82ddb8cf6->460c422fb00f8f41e7e116435c4924ee2727d16f @1998-Apr-28 15:28:12 {vcsTime[4ms], writeFile[5 calls, traffic 28kb]} for 44ms
[2018-03-08 09:58:10,886] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported 460c422fb00f8f41e7e116435c4924ee2727d16f->df704be679446e815213b988cdab79658e1bb733 @1998-Apr-28 15:28:24 {vcsTime[30ms], writeFile[56 calls, traffic 269kb]} for 1153ms
[2018-03-08 09:58:10,915] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported df704be679446e815213b988cdab79658e1bb733->94f499f465e34a5016f09d0c798092c42c54712a @1998-Apr-28 15:28:25 {vcsTime[3ms], writeFile[2 calls, traffic 7266b]} for 28ms
[2018-03-08 09:58:10,940] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported 94f499f465e34a5016f09d0c798092c42c54712a->6f768c40b7cf1df1e72f828405c580b6252dfd53 @1998-Apr-28 16:09:51 {vcsTime[4ms], writeFile[26 calls, traffic 227kb]} for 25ms
[2018-03-08 09:58:10,946] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported 6f768c40b7cf1df1e72f828405c580b6252dfd53->12b9d38a046d6f5e6dceface9c18e79b876edcb9 @1998-May-07 18:15:37 {vcsTime[1ms], writeFile[1 calls, traffic 11kb]} for 6ms
[2018-03-08 09:58:10,952] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported 12b9d38a046d6f5e6dceface9c18e79b876edcb9->6c51c46e2a0250dc46d5a86fcb75da61c78a9637 @1998-Jun-01 11:36:34 {vcsTime[1ms], writeFile[1 calls, traffic 858b]} for 6ms
[2018-03-08 09:58:10,963] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported 6c51c46e2a0250dc46d5a86fcb75da61c78a9637->e18fa6be6276a13060e8dfc557fe5617a3b95c81 @1998-Jun-02 15:36:16 {vcsTime[2ms], writeFile[13 calls, traffic 115kb]} for 11ms
[2018-03-08 09:58:12,237] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported e18fa6be6276a13060e8dfc557fe5617a3b95c81->eb53ba1a5b3d88658478a6188cf4c159efe7ff10 @1998-Jun-11 16:58:37 {vcsTime[28ms], writeFile[33 calls, traffic 539kb]} for 1259ms
[2018-03-08 09:58:12,246] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported eb53ba1a5b3d88658478a6188cf4c159efe7ff10->1342b39d821ed8e2af4fde6330cfe9dbfe3ba3d4 @1998-Jun-17 13:33:45 {vcsTime[2ms], writeFile[4 calls, traffic 49kb]} for 9ms
[2018-03-08 09:58:12,251] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported 1342b39d821ed8e2af4fde6330cfe9dbfe3ba3d4->645fe986a03684f44af85250d4775c09634c43d4 @1998-Jul-29 18:20:28 {vcsTime[1ms], writeFile[3 calls, traffic 5714b]} for 4ms
[2018-03-08 09:58:12,261] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported 645fe986a03684f44af85250d4775c09634c43d4->d36424758d8da0131579d74349c8c6f2f0b164af @1998-Jul-29 18:21:26 {vcsTime[2ms], writeFile[10 calls, traffic 137kb]} for 9ms
[2018-03-08 09:58:12,369] INFO lyzer:INIT_CLUSTER-2 eering-plc-anca server.core.db.ProjectDatabase - [systems-engineering-plc-anca]: Contents imported d36424758d8da0131579d74349c8c6f2f0b164af->870bba082d4970788254d718b4287aa469832922 @1998-Aug-11 11:33:51 {vcsTime[4ms], writeFile[2 calls, traffic 82kb]} for 8ms
[2018-03-08 09:58:12,586] ERROR ster1-reconnection-0 .driver.core.ControlConnection - [Control connection] Cannot connect to any host, scheduling retry in 1000 milliseconds
[2018-03-08 09:58:12,590] WARN luster1-nio-worker-4 tastaxCqlCluster$MyRetryPolicy - onRequestError. Batch statement (idempotent, null). 7/7 statements:
#1: Bound statement (idempotent, QUORUM): INSERT INTO projects.uniqueidhistory (projectId,rowid,columnid,value) VALUES (?,?,?,?);.
#2: Bound statement (idempotent, QUORUM): INSERT INTO projects.uniqueidhistory (projectId,rowid,columnid,value) VALUES (?,?,?,?);.
#3: Bound statement (idempotent, QUORUM): INSERT INTO projects.uniqueidhistory (projectId,rowid,columnid,value) VALUES (?,?,?,?);.
#4: Bound statement (idempotent, QUORUM): INSERT INTO projects.filepathcontinuationsindex (projectId,rowid,columnid,value) VALUES (?,?,?,?);.
#5: Bound statement (idempotent, QUORUM): INSERT INTO projects.filepathrevisionsindex (projectId,rowid,columnid,value) VALUES (?,?,?,?);.
#6: Bound statement (idempotent, QUORUM): INSERT INTO projects.filepathcontinuationsindex (projectId,rowid,columnid,value) VALUES (?,?,?,?);.
#7: Bound statement (idempotent, QUORUM): INSERT INTO projects.filepathrevisionsindex (projectId,rowid,columnid,value) VALUES (?,?,?,?);. keyspace projects cl LOCAL_ONE nbRetry 0
com.datastax.driver.core.exceptions.TransportException: [/127.0.0.1:10020] Connection has been closed
at com.datastax.driver.core.Connection$ConnectionCloseFuture.force(Connection.java:1223)
at com.datastax.driver.core.Connection$ConnectionCloseFuture.force(Connection.java:1208)
at com.datastax.driver.core.Connection.defunct(Connection.java:452)
at com.datastax.driver.core.Connection$Dispatcher.exceptionCaught(Connection.java:1141)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:281)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:252)
at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:281)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:252)
at io.netty.channel.ChannelHandlerAdapter.exceptionCaught(ChannelHandlerAdapter.java:79)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:281)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:252)
at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:281)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:252)
at io.netty.channel.ChannelHandlerAdapter.exceptionCaught(ChannelHandlerAdapter.java:79)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:281)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:252)
at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:281)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:252)
at io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1261)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:281)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:260)
at io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:899)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:87)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:162)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:643)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:566)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:480)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:748)

 

The server is on my PC. The repository is a BitBucket git repo on a server on local network.

 

Thank you in advance.

1 comment
Comment actions Permalink

I had a similar set of problems, though they differ in exact details, because I was running it on a machine that simply wasnt beefy enough.

I tried to run upsource on a 1CPU 2GB virtual machine from IBM. It would spin at "importing project" for several hours, working its way through a few of our 9000+ commits. Eventually it would freeze complaining about connection state errors.

I moved it over to a 2CPU 16GB virtual machine and things are running much more smoothly. Note they suggest a 6GB machine (https://www.jetbrains.com/help/upsource/prerequisites.html) though I have trouble squaring this with the "default" XMX value of 600m.

0

Please sign in to leave a comment.