What is the "Instance Name" for linux if im trying to reset my login credentials from the command prompt?

Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.

Screenshots of text are prohibited. Always copy and paste text as text.

Make sure you search before posting! Duplicate posts for the same issue may not be answered.

OS Name/Version: Linux

Product Name/Version: unsure

Problem Description: cannot reset login credentials

If you're sharing console output, logs, or commands you have run, please make sure to use code tags 
(3x backticks for blocks, 1x backtick for a single line) to help make posts readable. This also
provides syntax highlighting.

Steps to reproduce:

  • Step 1 use ampinstmgr resetlogin command
  • Step 2
  • Step 3

Actions taken to resolve so far: everything on the forum

ADS01 is the instance’s name

I tried that and it did not work.

It does work, so if it didn’t there’s something wrong with your setup.
Run:
sudo su -l amp
ampinstmgr status
And show the output

when i type in

sudo su -1 amp

i get this

su: invalid option – ‘1’

when i run:

ampinstmgr status

i get in return

[Info/1] AMP Instance Manager v2.6.0.12 built 24/02/2025 17:13
[Info/1] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
No instances to show.
type or paste code here

That’s a lowercase L, not a 1
You must be the amp Linux user in order to manage instances via ampinstmgr

i tried the lowercase L and it still gives me

[Error/1] No such instance matching name: ‘ADS0l’

Nope, when you see su: invalid option – ‘1’
That means you ran sudo su -l amp with a 1 instead of an l

The ADS is still ADS01

got it, i fixed that input and not this is was i received.

[Info/1] AMP Instance Manager v2.6.0.12 built 24/02/2025 17:13
[Info/1] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
Instance Name      │ Friendly Name    │ Module     │ IP              │ Port  │ Up
───────────────────┼──────────────────┼────────────┼─────────────────┼───────┼───
ADS01              │ ADS              │ ADS        │ 0.0.0.0         │ 8080  │ ✓

the checkmark in the ‘Up’ column is incorrect. it pasted as a checkmark but my console has a question mark

Now, as the amp Linux user, run the ampinstmgr resetlogin ADS01 command

(the question mark in the console is because your terminal doesn’t know how to render the checkmark)

i believe that gave me the correct result now.

[Info/1] Stopping Instance: 'ADS01'
[Info/1] Stopping instance ADS01...
[Info/1] Requesting soft-stop...
[Info/1] Waiting for instance to stop...
[Info/6] Instance was shut down gracefully.
[Info/6] Instance ADS01 has stopped.
[21:40:59] [Program Info/1]       : Starting AMP version 2.6.0.12 (Phobos), built 24/02/2025 17:12
[21:40:59] [Program Info/1]       : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[21:40:59] [Core Warning/1]       : Specified password is very weak. Change it ASAP.
[21:40:59] [Program Info/1]       : OS: Linux / x86_64
[21:40:59] [Program Info/1]       : CPU: Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (2C/4T)
[21:40:59] [Program Info/1]       : RAM: 7807MB
[21:40:59] [Program Info/1]       : AMP Instance ID: bdf5d5f8-69b9-4400-9994-2273714dbc95
[21:41:00] [Core Info/1]          : Loaded ADSModule version 2.6.0.12 by CubeCoders Limited
[21:41:00] [Loader Info/1]        : Loaded FileManagerPlugin by CubeCoders Limited
[21:41:00] [Loader Info/1]        : Loaded EmailSenderPlugin by CubeCoders Limited
[21:41:00] [Loader Info/1]        : Loaded WebRequestPlugin by CubeCoders Limited
[21:41:00] [Loader Info/1]        : Loaded CommonCorePlugin by CubeCoders Limited
[21:41:00] [Loader Info/1]        : ADSModule requests dependency InstanceManagerPlugin...
[21:41:00] [Loader Info/1]        : Loaded InstanceManagerPlugin by CubeCoders Limited
[21:41:00] [Loader Info/1]        : ADSModule requests dependency SystemUserManagerPlugin...
[21:41:00] [Loader Info/1]        : Loaded SystemUserManagerPlugin by CubeCoders Limited
[21:41:00] [Program Info/1]       : -configonly specified or activation performed. Saving settings and shutting down. This is perfectly normal.
[Info/6] Waiting for AMP instance to start...
[Notice/6] AMP instance ADS01 is now running.

will i have to wait a couple minutes for the instance to run? or now do i return to the browser and try to login?

i was able to login and create an instance. thank you so much for the help and patience!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.