(pi) symbolic link from my instances from my ssd

OS Name/Version: Raspberry Pi Os Lite

Product Name/Version: v2.3.4

Problem Description: I’m pretty new to Linux but I followed this guide Relocating the AMP Datastore · CubeCoders/AMP Wiki · GitHub pretty well I think, at first I tried with a syslink to .ampdata but had the same issues.

[22:09:55] [Core Info]            : Starting AMP version 2.3.4.0 (Triton), built 16/06/2022 18:17
[22:09:55] [Core Info]            : Stream: Mainline (Release (aarch64)) - built by CUBECODERS/buildbot on CCL-DEV
[22:09:55] [Core Info]            : OS: Linux / aarch64
[22:09:55] [Core Info]            : CPU: ARM Cortex-A72 (4C/4T)
[22:09:55] [Core Info]            : AMP Instance ID: 8fca60c3-4e28-4ed3-a4d7-15d5e302a4fe
[22:09:56] [ModuleLoader Info]    : Loaded ADSModule version 1.0.0.0 by CubeCoders Limited
[22:09:56] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[22:09:56] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[22:09:56] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[22:09:56] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[22:09:56] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[22:09:56] [ModuleLoader Info]    : ADSModule requests dependency InstanceManagerPlugin...
[22:09:57] [ModuleLoader Info]    : Loaded InstanceManagerPlugin version 1.0.0.0 by CubeCoders Limited
[22:09:57] [ModuleLoader Info]    : ADSModule requests dependency SystemUserManagerPlugin...
[22:09:57] [ModuleLoader Info]    : Loaded SystemUserManagerPlugin version 1.0.0.0 by CubeCoders Limited
[22:09:57] [ModuleLoader Info]    : Loaded steamcmdplugin version 1.0.0.0 by CubeCoders Limited
[22:09:57] [Core Info]            : Metrics server started OK on port 12820
[22:09:58] [ADS Info]             : Updating remote source CubeCoders/AMPTemplates
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
[22:09:58] [FileManager Notice]   : Using keypair with fingerprint WHn0MFoZQCj/myD1vromlweniA+xQtC0Q7iTavZ9FaQ=
[22:09:58] [FileManager Info]     : SFTP Server started on 0.0.0.0:2223
[22:09:58] [WebServer Info]       : Websockets are enabled.
[22:09:58] [WebServer Info]       : Webserver started on http://0.0.0.0:8080
[22:09:58] [Logger Warning]       : RouterTimer@10Hz with 2 jobs started
[22:09:58] [Core Info]            : Checking for AMP updates...
Already up to date.
[22:09:59] [Core Info]            : AMP is up-to-date.
[22:10:03] [InstanceManager Info] : Waiting for AMP instance to start...
[22:10:03] [InstanceManager Notice] : AMP instance Minecraft01 is now running.
[22:10:06] [ADS:admin Activity]   : Managed remote instance Minecraft01 at http://127.0.0.1:8082/
[22:10:06] [Auth:admin Activity]  : Authentication token for admin requested by ManageInstance on behalf of admin
[22:10:06] [ADS:Anonymous Error]  : Failure to make API call to Minecraft01 (http://127.0.0.1:8082/API/Core/GetAPISpec) - retried 10 times : Connection refused
[22:10:06] [Core:Anonymous Error] : HttpRequestException
[22:10:06] [Core:Anonymous Error] : [0] (HttpRequestException) : Connection refused
[22:10:06] [Core:Anonymous Error] :   at ADSModule.WebMethods.MakeInstanceRequest (m.Http.IHttpRequest request, String REQ_RAWJSON, String requesturi)
  at ADSModule.WebMethods.Servers (m.Http.IHttpRequest request, String id, String REQ_RAWJSON)
[22:10:06] [Core:Anonymous Error] : SocketException
[22:10:06] [Core:Anonymous Error] : [1] (SocketException) : Connection refused
[22:10:16] [ADS:admin Activity]   : Managed remote instance Minecraft01 at http://127.0.0.1:8082/
[22:10:16] [Auth:admin Activity]  : Authentication token for admin requested by ManageInstance on behalf of admin
[22:11:11] [InstanceManager:admin Info] : Stopping instance Minecraft01...
[22:11:11] [InstanceManager:admin Info] : Requesting soft-stop...
[22:11:11] [InstanceManager:admin Info] : Waiting for instance to stop...
[22:11:12] [InstanceManager:admin Activity] : Instance Minecraft01 has stopped.
[22:11:12] [ADS:admin Info]       : ADS logged stopped instance Minecraft01 - exit code 0 (CONFIG_ONLY)
[22:11:12] [InstanceManager:admin Info] : Instance was shut down gracefully.
[22:11:12] [InstanceManager:admin Info] : Instance Minecraft01 has stopped.
[22:13:00] [InstanceManager Error] : Tried to get version number for instance Minecraft01 but the manifest data could not be found.
[22:13:00] [InstanceManager Error] : Tried to get version number for instance Minecraft01 but the manifest data could not be found.
[22:13:45] [InstanceManager:admin Info] : Waiting for AMP instance to start...
[22:13:51] [InstanceManager:admin Error] : Failed to start AMP. Exit code was 0
[22:16:03] [InstanceManager:admin Info] : Waiting for AMP instance to start...
[22:16:03] [InstanceManager:admin Notice] : AMP instance Minecraft01 is now running.
[22:16:13] [InstanceManager:admin Info] : Stopping instance Minecraft01...
[22:16:13] [InstanceManager:admin Info] : Requesting soft-stop...
[22:16:13] [InstanceManager:admin Info] : Waiting for instance to stop...
[22:16:14] [InstanceManager:admin Activity] : Instance Minecraft01 has stopped.
[22:16:14] [ADS:admin Info]       : ADS logged stopped instance Minecraft01 - exit code 0 (CONFIG_ONLY)
[22:16:14] [InstanceManager:admin Info] : Instance was shut down gracefully.
[22:16:14] [InstanceManager:admin Info] : Instance Minecraft01 has stopped.
[22:16:46] [Core Info]            : Stop requested: SIGUSR1 Recieved
[22:16:46] [Core Notice]          : AMP shutdown requested.
[22:16:46] [Core Notice]          : Stopping Application...
[22:16:51] [Core Notice]          : Stopping Web Server...
[22:16:51] [WebServer Info]       : Web server shutdown.
[22:16:51] [Logger Warning]       : RouterTimer@10Hz stopped
[22:16:51] [Core Notice]          : Goodbye!

Steps to reproduce:

  • Step 1: Be born
  • Step 2: Get dropped on head
  • Step 3: Please forgive me if this in inappropriate

Actions taken to resolve so far:
Tried symlinking .ampdata. And also chmod 775 all directories on my ssd pathing to instances folder as Amp user.

Could you post the logs from the instance itself?

This may not be relevant but I moved my .ampdata to a new ssd yesterday and managed to create a syslink.

The issue I came into was I restarted the pc and due to linux being how it is, it unmounted the new drive so amp couldn’t find it. I did this to make the drive auto mount on startup.

You can also check if the syslink is in place but doing ls -la to view the syslink. (must be in the same dir)