Coder Social home page Coder Social logo

satisfactoryservermanager's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar markusrannare avatar mrhid6 avatar rpdiscordbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

satisfactoryservermanager's Issues

SSM Agent won't start anymore

Hi,

First of all I love this tool, thanks for creating it!

I tried updating the factory server version to the latest version and now the SSMAgent will not start anymore. I'm using the Linux version btw.
I tried using:

docker start -ia SSMAgent1
This this wat was returned:

#-----------------------------#
#      _____ _____ __  __     #
#     / ____/ ____|  \/  |    #
#    | (___| (___ | \  / |    #
#     \___ \\___ \| |\/| |    #
#     ____) |___) | |  | |    #
#    |_____/_____/|_|  |_|    #
#-----------------------------#
# Satisfactory Server Manager #
#-----------------------------#
Installing Prereqs
Installing Docker
Using Dev build of SSM
parse error: Invalid numeric literal at line 1, column 4
parse error: Invalid numeric literal at line 1, column 4
Updating SSM  to  ...
* Downloading SSM

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
* Cleanup
SSM Service Skipped
-bash: /opt/SSM/SatisfactoryServerManager: No such file or directory

Can you help me to fix this?

Just to be sure, is there a way I can retrieve the save games if I can't restore the docker container?

No Idea what I do wrong.

Trying to get it work on Win10 Pro without any luck. Any Idea what could be the cause ?

Invoke-WebRequest : The remote name could not be resolved: 'nssm.cc' At C:\Users\Server\install.ps1:120 char:2 + Invoke-WebRequest https://nssm.cc/release/nssm-2.24.zip -Out "$($ ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc eption + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand Expand-Archive : The path 'C:\Program Files\SSM\nssm.zip' either does not exist or is not a valid file system path. At C:\Users\Server\install.ps1:121 char:2 + Expand-Archive "$($installDir)\nssm.zip" -DestinationPath "$($ins ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (C:\Program Files\SSM\nssm.zip:String) [Expand-Archive], InvalidOperati onException + FullyQualifiedErrorId : ArchiveCmdletPathNotFound,Expand-Archive Move-item : Cannot find path 'C:\Program Files\SSM\nssm-2.24\win64\nssm.exe' because it does not exist. At C:\Users\Server\install.ps1:123 char:2 + Move-item -Path "$($installDir)\nssm-2.24\win64\nssm.exe" -Destin ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Program File...\win64\nssm.exe:String) [Move-Item], ItemNotFoundExce ption + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.MoveItemCommand Remove-Item : Cannot find path 'C:\Program Files\SSM\nssm-2.24' because it does not exist. At C:\Users\Server\install.ps1:124 char:2 + Remove-Item -Path "$($installDir)\nssm-2.24" -Recurse + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Program Files\SSM\nssm-2.24:String) [Remove-Item], ItemNotFoundExcep tion + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand Remove-Item : Cannot find path 'C:\Program Files\SSM\nssm.zip' because it does not exist. At C:\Users\Server\install.ps1:125 char:2 + Remove-Item -Path "$($installDir)\nssm.zip" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Program Files\SSM\nssm.zip:String) [Remove-Item], ItemNotFoundExcept ion + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand * Removing Old SSM Service & : The term 'C:\Program Files\SSM\nssm.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Users\Server\install.ps1:129 char:5 + & "$($installDir)\nssm.exe" "remove" "SSM" "confirm" | out-nu ... + ~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Program Files\SSM\nssm.exe:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException * Create SSM Service & : The term 'C:\Program Files\SSM\nssm.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Users\Server\install.ps1:133 char:4 + & "$($installDir)\nssm.exe" "install" "SSM" "$($installDir)\Satis ...

  •   ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\Program Files\SSM\nssm.exe:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

& : The term 'C:\Program Files\SSM\nssm.exe' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\Users\Server\install.ps1:134 char:7

  • & "$($installDir)\nssm.exe" "set" "SSM" "AppDirectory" "$($instal ...
    
  •   ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\Program Files\SSM\nssm.exe:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

& : The term 'C:\Program Files\SSM\nssm.exe' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\Users\Server\install.ps1:135 char:7

  • & "$($installDir)\nssm.exe" "set" "SSM" "DisplayName" "Satisfacto ...
    
  •   ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\Program Files\SSM\nssm.exe:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

& : The term 'C:\Program Files\SSM\nssm.exe' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\Users\Server\install.ps1:136 char:7

  • & "$($installDir)\nssm.exe" "set" "SSM" "Description" "Service fo ...
    
  •   ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\Program Files\SSM\nssm.exe:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException
  • Start SSM Service
    Start-Service : Service 'SatisfactoryServerManager (SSM)' cannot be started due to the following error: Cannot start
    service SSM on computer '.'.
    At C:\Users\Server\install.ps1:142 char:17
  • $SSM_Service | Start-Service | out-null
    
  •                ~~~~~~~~~~~~~
    
    • CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
      ServiceCommandException
    • FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand``

GLIBCXX_3.4.26 missing

Hi, I got Error: Couldn't install required libraries all the times, then I tried to do each command one by one, to finish to understand what the problem :
Your script check to GLIBCXX_3.4.26, but not try to install it.

Here is the link help me to install it manually : https://stackoverflow.com/a/66465559

Mods/SML support ?

Hi again πŸ™‚

Is SMM ready for SML/Mods supports ?
Every time I try to launch a server with SML installed (3.2.1 or 3.2.0), the server stop to work, it failed at every start.
Is this normal ? Is there something to do ?

Thanks

Where are logs for SSM Agent ?

I got problem to activate server, but can't understand what's happening.
I select the green arrow in Servers tab, it start Running, then seems to crash.
I can't find useful logs. Only /home/ssm/.SatisfactoryServerManager/logs but there is nothing else than
2021-11-22 19:59:02.478 INFO [AGENT_HANDLER] - Starting Agent... 2021-11-22 19:59:02.297 INFO [AGENT_HANDLER] - Agent Started! 2021-11-22 20:00:14.259 INFO [AGENT_HANDLER] - Starting Agent... 2021-11-22 20:00:14.615 INFO [AGENT_HANDLER] - Agent Started!

I tried to create a new server, same.

Running Server is not found

Describe the bug
I am running a satisfactory server on a debian host using Cubecoders AMP and ssm is unable to find the server.

To Reproduce
Steps to reproduce the behavior:

  1. Install AMP (Licence is needed, developer licence can be requested)
  2. Setup a satisfactory server
  3. Install ssm
  4. Dashboard is empty, no server is found

Expected behavior
I assumed ssm would find the server

Screenshots
If applicable, add screenshots to help explain your problem.

Server Information (please complete the following information):

  • OS: Debian
  • SSM Version: 1.1.32

Additional context
Add any other context about the problem here.

Failed to create server!

Hi, no issues while installing SSM, the page shows up in my browser but i'm unable to create new users or servers. When creating a server i got this message: Failed to create server! When creating a user nothing happen, window stays open. The log file :
2022-04-21 20:23:22.548 INFO [LOGGER] - Log Directory: /home/ssm/.SatisfactoryServerManager/logs 2022-04-21 20:23:23.115 INFO [APP] [PREINIT] - Loading Configs.. 2022-04-21 20:23:23.134 INFO [APP] [PREINIT] - Starting SSM.. 2022-04-21 20:23:23.135 INFO [APP] [EXPRESS] - Starting Express.. 2022-04-21 20:23:23.136 INFO [APP] [EXPRESS] - Setup Express Static Routes.. 2022-04-21 20:23:23.136 INFO [APP] [EXPRESS] - Finished 2022-04-21 20:23:23.137 INFO [APP] [EXPRESS] - Setup Express Routers.. 2022-04-21 20:23:23.166 INFO [APP] [EXPRESS] - Finished 2022-04-21 20:23:23.166 INFO [APP] [EXPRESS] - Started Express. 2022-04-21 20:23:23.171 INFO [APP] [INIT] - Server listening on port: (3000).. 2022-04-21 20:23:23.171 INFO [SERVER_APP] [INIT] - Starting Server App... 2022-04-21 20:23:23.173 INFO Connected to the database. 2022-04-21 20:23:23.174 INFO Creating Users Table 2022-04-21 20:23:23.240 INFO Creating Roles Table 2022-04-21 20:23:23.246 INFO Creating Permissions Table 2022-04-21 20:23:23.248 INFO Creating Agents Table 2022-04-21 20:23:23.250 INFO Creating Config Table 2022-04-21 20:23:23.252 INFO Creating Webhooks Table 2022-04-21 20:23:23.274 INFO [AGENT_HANDLER] - Pulling Docker Image.. 2022-04-21 20:23:53.550 INFO [AGENT_HANDLER] - Pulled Docker Image Successfully! 2022-04-21 20:23:53.550 INFO [AGENT_HANDLER] - Building SSM Agent List... 2022-04-21 20:23:53.550 INFO [AGENT_HANDLER] - Built SSM Agent List Successfully! 2022-04-21 20:31:53.023 DEBUG [SERVER_APP] [LOGIN] - Successful Login from x.x.x.x User:admin 2022-04-21 20:32:16.540 DEBUG [SERVER_APP] [LOGIN] - Successful Login from x.x.x.x User:admin 2022-04-21 20:32:50.911 INFO [AGENT_HANDLER] - Creating Agent (serverNeu) ... 2022-04-21 20:33:48.992 INFO [AGENT_HANDLER] - Creating Agent (asdsadasdd) ... 2022-04-21 20:35:33.776 INFO [AGENT_HANDLER] - Creating Agent (sdfsdff) ... 2022-04-21 20:37:17.046 INFO [AGENT_HANDLER] - Creating Agent (vbcbvbcbvcb) ... 2022-04-21 20:51:23.293 INFO [AGENT_HANDLER] - Creating Agent (sdsdsdsdsdd) ...

(changed the ip adress to x.x.x.x)

the user running is ssm, the nginx server runs as www-data might be an permission issue?
ps: sorry for the formatting issue in log file, can't get a new line working......

/edit
also under "Logs" i see "This message should never show, There is an error somewhere!" 4 times

No SSM.json file

Hi,
After installation, I don't got this file, so I can't configure :
/home/ssm/.SatisfactoryServerManager/SSM.json

Do you know why, and maybe how can I add it manually ?

Thanks

Invalid Login Credentials!

Changed the ssm.json before first time logging in and when I put in the password that I changed it to in the json it keeps telling me the login credentials are invalid. Is this an issue with changing the json before logging in the first time? I've changed it to alpha-numeric with a symbol, alpha-numeric only, and even a blank password but all I get is "Invalid Login Credentials!"

Server broken ...

Hi (again),

After long time, we want to try again SSM, but when I tried to update it, I think something broken all.
As you can see here, nothing well happend : http://193.190.64.69:3000/

If I try to update with wget -q https://git.io/Je7rx -O - | bash /dev/stdin "--update", it tell me that is it UTD, and just install, it's already installed.
I haven't found the way to reinstall or remove.

Can you help us ? πŸ™‚

Dockerfile is overengineered

There is no need for so many actions, the dockerfile can be shortened to 6 lines, purging entry.sh in the process

No clear indication of failed 2fa token entry

Describe the bug
Poor feedback for the user when failing to correctly enter your 2fa token

To Reproduce
Steps to reproduce the behavior:

  1. Be signed out
  2. Go to sign in
  3. Enter your correct username and password
  4. Enter and submit an incorrect 2fa code
  5. The box is cleared and nothing else seems to happen

Expected behavior
A message/popup/banner appears saying "Incorrect 2fa code" or similar

image

Server Information (please complete the following information):

  • OS: Irrelevant
  • SSM Version: 1.1.34

Additional context
Also, it should not be possible to submit the Verify Token forum when a token of less than 6 digits is entered

Connection refused

The Windows binaries immediately closes off with the following error: connect ECONNREFUSED 127.0.0.1:2375
All ports are forwarded, even tried disabling the firewall and testing on 3 machines; Windows Server 2022, W10 and W11.

Windows issues

Attempted to use this to install a satisfactory server, clicking the add server button and naming the server and selecting the memory always created an error in the bottom right of the screen that said "server creation failed". There is an issue with the server in windows 10 or the guide is not complete, either way I do not want this installed on my server anymore.

Windows uninstall process does not exist in the guide. Attempting to use the Invoke-WebREquest command to pull the tinyurl link for the linux uninstall file and then run it the same way the install file was run does not appear to work, gives numerous errors.

errors shown below after
PS C:\WINDOWS\system32> Invoke-WebRequest https://tinyurl.com/ssmuninstall -Out uninstall.ps1
PS C:\WINDOWS\system32> .\uninstall.ps1

errors:
At C:\WINDOWS\system32\uninstall.ps1:20 char:6

  • y | Y) echo "yes" ;;
  •  ~
    

Unexpected token ')' in expression or statement.
At C:\WINDOWS\system32\uninstall.ps1:21 char:2

  • *) exit 0 ;;
  • ~
    Unexpected token ')' in expression or statement.
    At C:\WINDOWS\system32\uninstall.ps1:28 char:6
  • while [[ $# -gt 0 ]]; do
  •  ~
    

Missing opening '(' after keyword 'while'.
At C:\WINDOWS\system32\uninstall.ps1:28 char:8

  • while [[ $# -gt 0 ]]; do
  •    ~
    

Missing type name after '['.
At C:\WINDOWS\system32\uninstall.ps1:28 char:25

  • while [[ $# -gt 0 ]]; do
  •                     ~
    

Missing statement body in do loop.
At C:\WINDOWS\system32\uninstall.ps1:32 char:7

  • --force | -f)
    
  •   ~
    

Missing expression after unary operator '--'.
At C:\WINDOWS\system32\uninstall.ps1:32 char:7

  • --force | -f)
    
  •   ~~~~~
    

Unexpected token 'force' in expression or statement.
At C:\WINDOWS\system32\uninstall.ps1:32 char:17

  • --force | -f)
    
  •             ~
    

Unexpected token ')' in expression or statement.
At C:\WINDOWS\system32\uninstall.ps1:36 char:7

  • --installdir)
    
  •   ~
    

Missing expression after unary operator '--'.
At C:\WINDOWS\system32\uninstall.ps1:36 char:7

  • --installdir)
    
  •   ~~~~~~~~~~
    

Unexpected token 'installdir' in expression or statement.
Not all parse errors were reported. Correct the reported errors and try again.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : UnexpectedToken

Server Information (please complete the following information):

  • OS: windows 10 pro (virtualization enabled in bios)
  • SSM Version: latest as of 1/4/23

Additional context
Why is there install directions for windows but not uninstall directions? The ones for linux do not appear to work for windows.

Permission denied, command not found during install

OS: Ubuntu 20.04

~$ wget -q https://git.io/Je7rx -O - | bash
#-----------------------------#
#      _____ _____ __  __     #
#     / ____/ ____|  \/  |    #
#    | (___| (___ | \  / |    #
#     \___ \\___ \| |\/| |    #
#     ____) |___) | |  | |    #
#    |_____/_____/|_|  |_|    #
#-----------------------------#
# Satisfactory Server Manager #
#-----------------------------#
Installing Prereqs
ln: failed to create symbolic link '/etc/localtime': Permission denied
bash: line 114: strings: command not found
bash: line 122: strings: command not found
Error: Couldn't install required libraries

Looks like the symlink failure is line 92:
ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime
This line appears to need root access, and appears to be specific to european timezones?

Looks like strings is missing, which on ubuntu 20.04 is in binutils

Was it assumed this would be run as root?

Can't Name created servers, can't delete servers, can't upload saves

Fresh Ubuntu 20.04 in a CT on Proxmox. Packages are up-to-date, i386 architecture is added (for SteamCMD), multiverse enabled, SteamCMD installed. 32GiB disk, 16GiB memory, 16 3ghz cores. Fuse and Nesting both enabled in Proxmox.

SSM install performed as root, worked fine, no errors.

I was able to log in and set my password without issue.

I went to servers, and chose "Create Server". After a few moments, I get an error in the bottom-right corner informing me "Failed to create server" with no further information, but a item called SSMAgent1 appears in the list.

I am unable to start SSMAgent1; it just sits there after clicking.
I am unable to edit any of the settings for SSMAgent1.
I am unable to delete SSMAgent1, clicking the link just sits there.
I am unable to upload a save; gives error "Save couldn't be uploaded!" but it does show up in /home/ssm/.SatisfactoryServerManager/temp.

Rebooting the server, SSM comes back up as it should, but all problems noted still occur.

Log file attached from /home/ssm/.SatisfactoryServerManager/logs/ - but there's not much in here.
20211128-SSM.log

How to delete my SSMAgent1 (through 4) and start over?

I had a working server... then I tried to put a mod on... things didn't work after that.

I tried creating new servers and trying again, nothing worked. Just want to go back to the basics, but can't get anything to load at this point.

Want a fresh start.
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.