From solr-user-return-151190-apmail-lucene-solr-user-archive=lucene.apache.org@lucene.apache.org Mon Dec 16 06:42:33 2019 Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 00F8E1960D for ; Mon, 16 Dec 2019 06:42:32 +0000 (UTC) Received: (qmail 60391 invoked by uid 500); 16 Dec 2019 06:42:23 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 60332 invoked by uid 500); 16 Dec 2019 06:42:22 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 60320 invoked by uid 99); 16 Dec 2019 06:42:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Dec 2019 06:42:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C87251A4242 for ; Mon, 16 Dec 2019 06:42:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.007 X-Spam-Level: X-Spam-Status: No, score=-0.007 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=indiamart.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id VJW_g8QZQUTA for ; Mon, 16 Dec 2019 06:42:20 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.48; helo=mail-ot1-f48.google.com; envelope-from=paras.lehana@indiamart.com; receiver= Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 67A9ABC509 for ; Mon, 16 Dec 2019 06:42:20 +0000 (UTC) Received: by mail-ot1-f48.google.com with SMTP id h20so7799743otn.5 for ; Sun, 15 Dec 2019 22:42:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=indiamart.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=5NYD/sdhrLr3G/a5J+mKdknZWvwNxYEsqeLmGOfU6Wg=; b=AIX9jWsDius1upZfjyHUPowILq8BYQ16nSgqVn66Bnlfg9VxilIART0klekOIbHGSL HjVJAKCacKTqkr+DoO1K1qk0KKL3u5yGaT3eqoLLvqjNEStw3q0c3qEQ6B+uzCmyYTY3 c5zjJXeb3pcrHAysWaPd63XyQumdWvYYVvm4U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5NYD/sdhrLr3G/a5J+mKdknZWvwNxYEsqeLmGOfU6Wg=; b=n9XlUBi+nsb6IXEa+qtpL+qX/KCCfNivAgIhWiM3jHGnsXOOS0G+/XgOIHV8Vf/vVx lQXEyWKrdWKTs1v+yFudFGI7JI6FWQ9hzHP3+pnl16wjxcJCG9NranyquulEjuzQbwHw IvsYk098v/BoNiq3N9tpeYxbun2qNn3vbFERwk6UClTDSO2ZM82tM+E4cszsz+ovPN/m gW42N6qL07FDIa+TTXHJcvsgN6cghyfpuiMZZ9v7why/Fch0eKPPmsqmD9cv0/NB5Tnp LLKmaTPZvD+5EePGvNwWUwC/WhlttoyspjrsCacH6iS0tURnrSyABw4xl7ksV1NXsohG gTsA== X-Gm-Message-State: APjAAAUAIn1QHrJT0dkV21HuWaxKV5pmlrHM5WWiVxIM5Mr6gk4r6gxF hvZHdjxOgD9StEOgSY/0Sdc4Kelt8ldjiS+blLZD/GqQIF9+8+UmlnJfuPHc2TA1TOEN+1AzuvL ekI/icu/j5yLodyVz7nnOETKIVY9kYTVpIw== X-Google-Smtp-Source: APXvYqx1Y/KvIorSdC+0DMpUJ+4D75/tJqopLN9g78vt2e9FGym4YznWoH14/axJY8YOqHjEcUllGpBjK5v2Yn54RCo= X-Received: by 2002:a9d:2904:: with SMTP id d4mr28993401otb.214.1576478539488; Sun, 15 Dec 2019 22:42:19 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Paras Lehana Date: Mon, 16 Dec 2019 12:11:43 +0530 Message-ID: Subject: Re: backing up and restoring To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="00000000000057bbe90599cc833f" --00000000000057bbe90599cc833f Content-Type: text/plain; charset="UTF-8" Looks like a write lock. Did reloading the core fix that? I guess it would have been fixed by now. I guess you had run the delete query few moments after restoring, no? On Thu, 12 Dec 2019 at 21:55, rhys J wrote: > I was able to successfully restore a backup by specifying name and location > in the restore command. > > But now when i try to run: > > sudo -u solr curl http://localhost:8983/solr/debt/update -H "Content-type: > text/xml" --data-binary '*:*' > > I get the following error: > > no segments* file found in > LockValidatingDirectoryWrapper(NRTCachingDirectory(MMapDirectory@ > /var/solr/data/debt/data/index > lockFactory=org.apache.lucene.store.NativeFSLockFactory@4746f577; > maxCacheMB=48.0 maxMergeSizeMB=4.0)): files: [write.lock] > org.apache.lucene.index.IndexNotFoundException: no > segments* file found in > LockValidatingDirectoryWrapper(NRTCachingDirectory(MMapDirectory@ > /var/solr/data/debt/data/index > lockFactory=org.apache.lucene.store.NativeFSLockFactory@4746f577; > maxCacheMB=48.0 maxMergeSizeMB=4.0)): files: [write.lock] > > I am just copying the top portion of the error, as it is very long. > > What did I do wrong? > > Thanks, > > Rhys > -- -- Regards, *Paras Lehana* [65871] Development Engineer, Auto-Suggest, IndiaMART Intermesh Ltd. 8th Floor, Tower A, Advant-Navis Business Park, Sector 142, Noida, UP, IN - 201303 Mob.: +91-9560911996 Work: 01203916600 | Extn: *8173* -- * * --00000000000057bbe90599cc833f--