Creating New Project Potentially Frozen?

Hey all,

I'm installing Upsource for the first time (windows 2008 R2) and created my first project. I got everything configured, and connected to our SVN repository (which is hosted on another server).

The documentation says it may take a few hours to initialize a project, but it has now been close to 24 hours since it started, and hovering over the project name on the Upsource administration page doesn't show any new actions since a flurry that occurred right when I created the project. The last action detail says "Loading commits graph..."

I poked around for relevant logs and found this in upsource-frontend\all.log which shows it got started at the very least:

[2016-05-24 19:48:15,401] INFO RPC task executor-7 ojectModificationsNotifierImpl - Creating project [project name]: Successfully finished. Do not restart Upsource while the project is initializing.
[2016-05-24 19:48:15,525] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getCurrentUser:{}, Users:{admin}
[2016-05-24 19:48:15,558] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getReadOnlyMode:{}, Users:{admin}
[2016-05-24 19:48:15,565] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getProjectsState:{}, Users:{admin}
[2016-05-24 19:48:26,887] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getProjectsState:{}, Users:{admin}
[2016-05-24 19:48:38,568] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] loadProject:{"projectId":"[projectid]"}, Users:{admin}
[2016-05-24 19:48:38,577] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 2] getProjectConfigurationParameters:{}, Users:{admin}
[2016-05-24 19:48:38,583] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - Call: getVcsHostingServices, User-ID: 'admin'. Command parameters refers to a project that does not exist: [project name]. Project [project name] is not yet initialized
[2016-05-24 19:48:38,588] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 3] getAvailableIssueTrackerProviders:{}, Users:{admin}
[2016-05-24 19:48:38,592] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - Call: getProjectInfo, User-ID: 'admin'. Command parameters refers to a project that does not exist: [project name]. Project [project name] is not yet initialized
[2016-05-24 19:48:48,071] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getReadOnlyMode:{}, Users:{admin}
[2016-05-24 19:48:48,077] INFO etty worker group-24 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getProjectsState:{}, Users:{admin}
[2016-05-24 21:15:28,719] INFO etty worker group-31 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] validatePlace:{"value":"/"}, Users:{admin}
[2016-05-24 21:15:29,101] INFO etty worker group-34 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getCurrentUser:{}, Users:{admin}
[2016-05-24 21:15:29,232] INFO etty worker group-32 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getAllProjects:{}, Users:{admin}
[2016-05-24 21:15:29,236] INFO etty worker group-32 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 2] queryAssist:{"context":3,"query":"#my"}, Users:{admin}
[2016-05-24 21:15:29,270] INFO etty worker group-32 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getUserSetting:{"key":"FavoriteProjects"}, Users:{admin}
[2016-05-24 21:15:29,368] INFO etty worker group-32 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getFeed:{"limit":30,"type":1,"searchQuery":"#my"}, Users:{admin}
[2016-05-25 14:33:39,065] INFO etty worker group-40 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] validatePlace:{"value":"/"}, Users:{admin}
[2016-05-25 14:33:39,185] INFO etty worker group-38 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getAllProjects:{}, Users:{admin}
[2016-05-25 14:33:39,190] INFO etty worker group-38 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 2] queryAssist:{"context":3,"query":"#my"}, Users:{admin}
[2016-05-25 14:33:39,192] INFO etty worker group-38 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 3] getCurrentUser:{}, Users:{admin}
[2016-05-25 14:33:39,222] INFO etty worker group-38 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getUserSetting:{"key":"FavoriteProjects"}, Users:{admin}
[2016-05-25 14:33:39,338] INFO etty worker group-38 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getFeed:{"limit":30,"type":1,"searchQuery":"#my"}, Users:{admin}
[2016-05-25 14:33:58,080] INFO etty worker group-12 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] validatePlace:{"value":"/"}, Users:{admin}
[2016-05-25 14:33:58,083] INFO etty worker group-13 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getAllProjects:{}, Users:{admin}
[2016-05-25 14:33:58,086] INFO etty worker group-13 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] queryAssist:{"context":3,"query":"#my"}, Users:{admin}
[2016-05-25 14:33:58,088] INFO etty worker group-13 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getFeed:{"limit":30,"type":1,"searchQuery":"#my"}, Users:{admin}
[2016-05-25 14:33:58,095] INFO etty worker group-13 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getCurrentUser:{}, Users:{admin}
[2016-05-25 14:33:58,099] INFO etty worker group-13 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getUserSetting:{"key":"FavoriteProjects"}, Users:{admin}
[2016-05-25 15:46:19,336] INFO etty worker group-13 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] queryAssist:{"context":2,"query":"#my and state: open"}, Users:{admin}
[2016-05-25 15:46:19,380] INFO etty worker group-13 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 2] getReviews:{"limit":100,"query":"#my and state: open","role":2}, Users:{admin}
[2016-05-25 15:46:19,383] INFO etty worker group-13 .rpc.endPoints.TaskManagerImpl - RPC: [Attached] getReviews:{"limit":100,"query":"#my and state: open","role":2}, Users:{admin}
[2016-05-25 15:46:44,835] INFO etty worker group-18 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] validatePlace:{"value":"/"}, Users:{admin}
[2016-05-25 15:46:44,923] INFO etty worker group-16 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getAllProjects:{}, Users:{admin}
[2016-05-25 15:46:44,925] INFO etty worker group-16 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] queryAssist:{"context":3,"query":"#my"}, Users:{admin}
[2016-05-25 15:46:44,928] INFO etty worker group-16 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getCurrentUser:{}, Users:{admin}
[2016-05-25 15:46:44,939] INFO etty worker group-16 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getUserSetting:{"key":"FavoriteProjects"}, Users:{admin}
[2016-05-25 15:46:45,074] INFO etty worker group-16 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getFeed:{"limit":30,"type":1,"searchQuery":"#my"}, Users:{admin}
[2016-05-25 15:50:56,695] INFO etty worker group-23 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] validatePlace:{"value":"/administration"}, Users:{admin}
[2016-05-25 15:50:56,752] INFO etty worker group-21 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getCurrentUser:{}, Users:{admin}
[2016-05-25 15:50:56,778] INFO etty worker group-21 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getReadOnlyMode:{}, Users:{admin}
[2016-05-25 15:50:56,781] INFO etty worker group-21 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getProjectsState:{}, Users:{admin}
[2016-05-25 15:59:07,337] INFO etty worker group-21 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getAllProjects:{}, Users:{admin}
[2016-05-25 15:59:07,339] INFO etty worker group-21 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] queryAssist:{"context":3,"query":"#my"}, Users:{admin}
[2016-05-25 15:59:07,350] INFO etty worker group-21 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getUserSetting:{"key":"FavoriteProjects"}, Users:{admin}
[2016-05-25 15:59:07,483] INFO etty worker group-21 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getFeed:{"limit":30,"type":1,"searchQuery":"#my"}, Users:{admin}
[2016-05-25 16:21:41,489] INFO etty worker group-21 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getReadOnlyMode:{}, Users:{admin}
[2016-05-25 16:21:41,491] INFO etty worker group-21 .rpc.endPoints.TaskManagerImpl - RPC: [Queued: 1] getProjectsState:{}, Users:{admin}

Is there some way to check in on the status of the initialization process beyond just hovering over the project name on the administration page? Our svn repository is a little under 3 gb and has on the order of 8,000 revisions. 

Thanks!

9 comments

Hi David,

Thank you for trying out Upsource.

There is only place for now in Upsource where you can check project/initialization status - popup on the administration page that you've already found.

Of course there are always logs (upsource-analyzer directory), but not sure if makes sense for you. Btw what system hardware do you have on the Upsource server?

0

Hi Artem, 

Thanks for your response. We host our servers with AWS, which specs are you interested in? At this point it's clear the project creation crashed right away based on the results from the logs you pointed me to in upsource-analyzer:

jetbrains.buildServer.vcs.VcsException: "[project name]" {internal id=2}: Failed to iterate revisions in range [0, 7631] for path: 'trunk'. svn: E160013: '/svn/[project name]/!svn/bc/7631/trunk' path not found: 404 Not Found ([project url])
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnExecutorImpl.executeUnderConnection(SvnExecutorImpl.java:27)
at jetbrains.buildServer.buildTriggers.vcs.svn.infos.SvnDVCSCommitsInfoBuilder$5.doUnderConnection(SvnDVCSCommitsInfoBuilder.java:108)
at jetbrains.buildServer.buildTriggers.vcs.svn.infos.CollectCommitAction.execute(CollectCommitAction.java:70)
at jetbrains.buildServer.buildTriggers.vcs.svn.infos.SvnDVCSCommitsInfoBuilder.collectCommitsImpl(SvnDVCSCommitsInfoBuilder.java:90)
at jetbrains.buildServer.buildTriggers.vcs.svn.infos.SvnDVCSCommitsInfoBuilder.fetchRepository(SvnDVCSCommitsInfoBuilder.java:42)
at jetbrains.vcs.api.services.impl.FetchServiceProvider$1.fetchRepository(FetchServiceProvider.java:33)
at jetbrains.vcs.server.core.impl.graph.worker.VcsFetchSource.fetch(VcsFetchSource.java:37)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphFactory$1.buildGraph(CompositeGraphFactory.java:79)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphBuilder$1.forMapping(CompositeGraphBuilder.java:97)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphBuilder$1.forMapping(CompositeGraphBuilder.java:82)
at jetbrains.vcs.server.core.impl.threading.TrueParallelExecutionImpl$2.call(TrueParallelExecutionImpl.java:84)
at __.project_[project name].__(JavaGeneratorTemplate.java:40)
at org.jonnyzzz.stack.NamedStackFrame.frame(NamedStackFrame.java:43)
at com.jetbrains.upsource.backend.cli.vcs.service.VcsServiceConnections$2.lambda$wrapMappingTask$4(VcsServiceConnections.java:99)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at jetbrains.vcs.server.core.impl.threading.TrueParallelExecutionImpl$1$1.run(TrueParallelExecutionImpl.java:51)
at java.lang.Thread.run(Thread.java:745)
Caused by: jetbrains.buildServer.vcs.VcsException: Failed to iterate revisions in range [0, 7631] for path: 'trunk'. svn: E160013: '/svn/[project name]/!svn/bc/7631/trunk' path not found: 404 Not Found ([project url])
at jetbrains.buildServer.buildTriggers.vcs.svn.infos.svn.impl.LogFetcherImpl.iterateRevisions(LogFetcherImpl.java:66)
at jetbrains.buildServer.buildTriggers.vcs.svn.infos.scan.SvnCommitsInfoCollector.execute(SvnCommitsInfoCollector.java:73)
at jetbrains.buildServer.buildTriggers.vcs.svn.infos.CollectCommitAction$1$1.execute(CollectCommitAction.java:92)
at jetbrains.buildServer.buildTriggers.vcs.svn.infos.cache.fs.impl.CachesImpl.withCaches(CachesImpl.java:39)
at jetbrains.buildServer.buildTriggers.vcs.svn.infos.CollectCommitAction$1.execute(CollectCommitAction.java:76)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnExecutorImpl.doUnderConnection(SvnExecutorImpl.java:58)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnExecutorImpl.executeUnderConnection(SvnExecutorImpl.java:25)
... 18 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: E160013: '/svn/[project name]/!svn/bc/7631/trunk' path not found: 404 Not Found ([project url])
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.logImpl(DAVRepository.java:1026)
at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:1038)
at jetbrains.buildServer.buildTriggers.vcs.svn.infos.svn.impl.LogFetcherImpl.iterateRevisions(LogFetcherImpl.java:47)

 

It looks like I'll have to try re-creating it. Any idea what would cause this specific error?

0

David,

Looks like Upsource cannot find a file.. Could you please check if user (that is specified in project settings) might successfully access this file in mentioned revision.

As for hardware question  -could you just clarify EC2 instance type?

Thank you in advance.  

0

Hi Artem,

Our server is an r3.4xlarge instance. As far as I can tell the user account I've used in configuring Upsource has rights to everything in SVN, but I'll give it a try with an account that might have higher permissions.

David

0

Also, at this point, it's still frozen, saying that the project is being set up. What would be the proper way to cancel this so I can try reloading it?

Thanks,

David

0

I figured out what the problem was: the branches I was searching for were incorrectly named, and the URL path I had given wasn't 100% complete. The test settings button had indicated what I configured was valid, but that was not the case.

A different question: is there a way to prevent users from signing up for a project? They can't access the project without being approved by an admin, but I'd prefer to prevent anonymous sign up, and only allow the creation of users by an admin that is logged in. I search around the FAQ and didn't see a way to configure this.

Thanks for your help!

David

0

Hi David,

Terribly sorry for the delayed response.

Could you please tell me how authentication to Upsource is currently configured? Do you use standard Hub user accounts and Hub credentials? If so, do you have "auto join" option configured to any of the Hub user groups?

Again sorry for the delay.

0

Hi Artem,

 

Thanks for your response. We are using standard Hub user accounts and Hub credentials. I do not see where the "auto join" option is set, though, so I'm not sure if it's enabled.

Thanks,

David

0

There should be a "auto-join" tag right after group name.

Also a quick question - do all of your users can view a list of all projects even if they cannot open a project? Or are you speaking about guest account?

 

 

 

 

 

0

Please sign in to leave a comment.