Failure: Restore file system on 3.5 build 35241

29 views
Skip to first unread message

legion

unread,
Dec 28, 2017, 6:08:55 PM12/28/17
to RavenDB - 2nd generation document database
Using this command:

raven.server.exe --restore-filesystem=http://localhost:3030 --restore-source=d:\restore\temp --restore-filesystem-name=HarmonyFiles

i get this following error. I was watching the server Admin logs, and it looks like the problem is isolated to the client as the request is not even hitting the server.

Any help will be greatly appreciated. 



./raven.server.exe : A critical error occurred while starting the server. Please see the exception details bellow for more details:
At line:1 char:1
+ ./raven.server.exe --restore-filesystem=http://localhost:3030 --restore-source=d ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (A critical erro...r more details::String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
A critical error occurred while starting the server. Please see the exception details bellow for more details:
System.ArgumentNullException: Value cannot be null.
Parameter name: stringToEscape
   at System.Uri.EscapeDataString(String stringToEscape)
   at Raven.Client.FileSystem.AsyncFilesServerClient.UrlFor(String fileSystem)
   at Raven.Client.FileSystem.Connection.FilesReplicationInformer.UpdateReplicationInformationIfNeededInternal(IAsyncFilesCommands commands)
   at Raven.Client.FileSystem.AsyncFilesServerClient..ctor(String serverUrl, String fileSystemName, FilesConvention conventions, OperationCredentials credentials, HttpJsonRequestFactory requestFactory, 
Nullable`1 sessionId, Func`2 replicationInformerGetter, IFilesConflictListener[] conflictListeners, NameValueCollection operationsHeaders)
   at Raven.Client.FileSystem.FilesStore.<InitializeInternal>b__55_0()
   at Raven.Client.FileSystem.FilesStore.get_AsyncFilesCommands()
   at Raven.Server.Program.<>c__DisplayClass11_0.<RunRemoteFilesystemRestoreOperation>b__0()
   at Raven.Abstractions.Util.AsyncHelpers.<>c__DisplayClass1_1`1.<<RunSync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Raven.Abstractions.Util.AsyncHelpers.RunSync[T](Func`1 task)
   at Raven.Server.Program.RunRemoteFilesystemRestoreOperation(String backupLocation, String restoreLocation, String restoreFilesystemName, Boolean defrag, Uri uri, Boolean waitForRestore, Nullable`1 
timeout)
   at Raven.Server.Program.<>c__DisplayClass6_2.<InteractiveRun>b__36()
  
 at Raven.Server.Program.InteractiveRun(String[] args)
   at Raven.Server.Program.Main(String[] args)

Oren Eini (Ayende Rahien)

unread,
Dec 29, 2017, 2:47:02 AM12/29/17
to ravendb
Try changing the order of the arguments?

raven.server.exe --restore-source=d:\restore\temp --restore-filesystem-name=HarmonyFiles --restore-filesystem=http://localhost:3030 

I'm not sure which build. The order of arguments _shouldn't_ matter, but to verify.



Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

legion

unread,
Dec 29, 2017, 12:36:38 PM12/29/17
to RavenDB - 2nd generation document database
Same error unfortunately. 



d:\ravendb\30\raven.server.exe : A critical error occurred while starting the server. Please see the exception details bellow for more details:
At line:1 char:1
+ d:\ravendb\30\raven.server.exe --restore-source=d:\restore\temp\ --restore-files ...

Oren Eini (Ayende Rahien)

unread,
Dec 31, 2017, 8:22:13 AM12/31/17
to ravendb
Hi,
I can confirm that this is an issue, fixed and will be in the next patch

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--

legion

unread,
Jan 13, 2018, 4:53:17 PM1/13/18
to RavenDB - 2nd generation document database
What is the ETA on this patch? 

Oren Eini (Ayende Rahien)

unread,
Jan 14, 2018, 1:37:39 AM1/14/18
to ravendb
Already in the latest patch release

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


On Sat, Jan 13, 2018 at 11:53 PM, legion <hassan...@gmail.com> wrote:
What is the ETA on this patch? 

--
Reply all
Reply to author
Forward
0 new messages