Comments (12)
Same issue happened with me. Ended up having to install EXILED manually. For reference it was on Debian 10 Buster.
from exiled.
./Exiled.Installer-Linux --path /home/scp/SCP_Server --appdata /home/scp/SCP_Data
initial command for reference
from exiled.
Unless you have some special $PATH variables set, --appdata should remain the default of ~/.config
since that's what the SCP server and Exiled will use to load configs/plugins/etc. --appdata command is only supposed to be used if you're using another user to install exiled than is used to run the server, but it should always end in .config
As for the error itself, that really shouldn't happen. I'm also not sure if the 3.0.1 installer supported the --appdata argument, i believe that was added in 3.1, if that's the case, that may be the cause of your issue.
from exiled.
Command doesn't work without --appdata
parameter either
from exiled.
More detailed stacktrace with the latest release
Unhandled exception. System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at System.IO.DirectoryInfo..ctor(String path)
at Exiled.Installer.CommandSettings.<>c.<.cctor>b__31_1()
at System.CommandLine.Argument`1.<>c__DisplayClass3_0.<.ctor>b__0()
at System.CommandLine.Argument.<>c__DisplayClass29_0.<SetDefaultValueFactory>b__0(ArgumentResult _)
at System.CommandLine.Argument.GetDefaultValue(ArgumentResult argumentResult)
at System.CommandLine.Parsing.ArgumentResult.Convert(IArgument argument)
at System.CommandLine.Parsing.ArgumentResult.GetArgumentConversionResult()
at System.CommandLine.Parsing.ParseResultVisitor.ValidateArgumentResult(ArgumentResult argumentResult)
at System.CommandLine.Parsing.ParseResultVisitor.ValidateOptionResult(OptionResult optionResult)
at System.CommandLine.Parsing.ParseResultVisitor.Stop(SyntaxNode node)
at System.CommandLine.Parsing.SyntaxVisitor.Visit(SyntaxNode node)
at System.CommandLine.Parsing.Parser.Parse(IReadOnlyList`1 arguments, String rawInput)
at System.CommandLine.CommandExtensions.GetInvocationPipeline(Command command, String[] args)
at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)
at Exiled.Installer.CommandSettings.Parse(String[] args)
at Exiled.Installer.Program.Main(String[] args)
at Exiled.Installer.Program.<Main>(String[] args)
Aborted (core dumped)```
from exiled.
@wickedlizerd Could you write the full path of your directory and test Exiled.Installer-Linux --help
, it should show the current folder as the default in the path argument.
This issue seems strange to me, because I shouldn't pass an null path. And if this were indeed the case, then I'd get an ArgumentNullReference
exception on the path validation for Assembly-CSharp.dll
, but as I see from the exception, this didn't happen, and the path validation was successful. It falls at this point if I got correctly.
from exiled.
--help output
Usage:
Exiled.Installer-Linux [options] [[--] <additional arguments>...]]
Unhandled exception. System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at System.IO.DirectoryInfo..ctor(String path)
at Exiled.Installer.CommandSettings.<>c.<.cctor>b__31_1()
at System.CommandLine.Argument`1.<>c__DisplayClass3_0.<.ctor>b__0()
at System.CommandLine.Argument.<>c__DisplayClass29_0.<SetDefaultValueFactory>b__0(ArgumentResult _)
at System.CommandLine.Argument.GetDefaultValue(ArgumentResult argumentResult)
at System.CommandLine.Argument.GetDefaultValue()
at System.CommandLine.Help.HelpBuilder.DefaultValueHint(IArgument argument, Boolean isSingleArgument)
at System.CommandLine.Help.HelpBuilder.<>c__DisplayClass40_0.<GetOptionHelpItems>b__7(IArgument argument)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.String.Join(String separator, IEnumerable`1 values)
at System.CommandLine.Help.HelpBuilder.<GetOptionHelpItems>g__BuildDefaultValueHint|40_6(IEnumerable`1 arguments)
at System.CommandLine.Help.HelpBuilder.GetOptionHelpItems(ISymbol symbol)+MoveNext()
at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
at System.Linq.Set`1.UnionWith(IEnumerable`1 other)
at System.Linq.Enumerable.DistinctIterator`1.FillSet()
at System.Linq.Enumerable.DistinctIterator`1.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at System.CommandLine.Help.HelpBuilder.AddOptions(ICommand command)
at System.CommandLine.Help.HelpBuilder.Write(ICommand command)
at System.CommandLine.Invocation.HelpResult.Apply(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.GetResultCode(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(IConsole console)
at System.CommandLine.CommandExtensions.InvokeAsync(Command command, String[] args, IConsole console)
at Exiled.Installer.CommandSettings.Parse(String[] args)
at Exiled.Installer.Program.Main(String[] args)
at Exiled.Installer.Program.<Main>(String[] args)
Aborted (core dumped)```
from exiled.
And then send your current path from where you run Exiled.Installer.
from exiled.
Current path is /home/scp/server
Full tree of the directory https://pastebin.com/raw/TyzNmesQ
from exiled.
Issue seems to be caused by Environment.SpecialFolder.ApplicationData
being null.
from exiled.
^^^
Because it wasn't created, I'll do a PR that will check it.
from exiled.
Fix staged for next update.
from exiled.
Related Issues (20)
- [NW_BUG] (that are not on SCP:SL Trello) HOT 1
- [BUG] IsFullyOpen / IsFullyClose do not work on Gate
- [BUG] friendly_fire_multiplier HOT 1
- Broken Links
- Example project is too overwhelming HOT 7
- [BUG] Player::IsIntercomMuted & Player::IsMuted HOT 1
- [FEATURE REQUEST] Allow use of non-default paths HOT 4
- [BUG] Exiled.Events unsubscibes a wrong Map.Generated event in OnDisabled HOT 1
- Readme Doc Link not update HOT 1
- [SUGGESTION] Make separated the default config type
- exiled is missing NuGet package README file HOT 4
- [BUG] [DynamicEvents] Scp914.UpgradingInventoryItem event does not fire unless Scp914.UpgradingPlayer is subscribed. HOT 1
- [BUG] Scp173 Gate can't be open
- [BUG] ev.IsAllowed not working correctly with custom items.
- [SUGGESTION] Update harmony, use built-in PatchCategory HOT 1
- [BUG] [API-Rework] Server Crashing On Spawning HOT 12
- [UPDATE]: Update YamlDotNet HOT 2
- Will Exiled.CreditTags be removed? HOT 3
- [BUG] Exiled.Installer ignores absence of pre-release flag. HOT 1
- [BUG] SanitizeResponse doesn't get generated with ICommand. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exiled.