Potential Update Issue?

OS Name/Version: Linux, Ubuntu 20.04

Product Name/Version: Unknown, AMP Not Loading, the version before the update posted today.

Problem Description: I clicked the update AMP button at the bottom left with the prompt and now I just get a blank 404 not found message.

Steps to reproduce: Just visit the URL of the panel that was previously working and it gives the error.

Actions taken to resolve so far: None, I have an instance running, though I don’t want to restart the server just in case that instance won’t come back online and the panel won’t start.

Make sure your OS packages are up-to-date, then run ampinstmgr upgradeall && ampinstmgr startall

Thank you for the prompt response Mike.

This is what I see:

root@localhost:~# ampinstmgr upgradeall && ampinstmgr startall
[Info] AMP Instance Manager v2.4.5 built 19/06/2023 22:49
[Info] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Warning] The user you're logged in as has no instances, but you have a separate 'amp' system user - did you mean to run ampinstmgr as that user instead?
[Warning] Run `su -l amp` to switch over. Then, run the same command again.
[Info] There are no instances to update.
[Info] AMP Instance Manager v2.4.5 built 19/06/2023 22:49
[Info] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Warning] The user you're logged in as has no instances, but you have a separate 'amp' system user - did you mean to run ampinstmgr as that user instead?
[Warning] Run `su -l amp` to switch over. Then, run the same command again.

Wrong user, run those as the amp user. Switch over by running su -l amp

Here’s the results:

  CubeCoders AMP  💻amp@localhost  📁~  ampinstmgr upgradeall && ampinstmgr startall

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.EntryPointNotFoundException: SystemNative_LChflagsCanSetHiddenFlag assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
  at Interop+Sys..cctor () [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
   --- End of inner exception stack trace ---
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath, Interop+ErrorInfo& errorInfo) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.IO.Directory.Exists (System.String path) [0x0001e] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.TermInfoDriver.SearchTerminfo (System.String term) [0x00044] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.TermInfoDriver..ctor (System.String term) [0x0004b] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.ConsoleDriver..cctor () [0x0004d] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.Console..cctor () [0x0007d] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
   --- End of inner exception stack trace ---
  at InstanceManagerCLI.Core.Run () [0x0009e] in <0b5263d4903246a983143374f5d89748>:0 
  at InstanceManagerCLI.Program.<Main> () [0x0000b] in <0b5263d4903246a983143374f5d89748>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.EntryPointNotFoundException: SystemNative_LChflagsCanSetHiddenFlag assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
  at Interop+Sys..cctor () [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
   --- End of inner exception stack trace ---
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath, Interop+ErrorInfo& errorInfo) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.IO.Directory.Exists (System.String path) [0x0001e] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.TermInfoDriver.SearchTerminfo (System.String term) [0x00044] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.TermInfoDriver..ctor (System.String term) [0x0004b] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.ConsoleDriver..cctor () [0x0004d] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
  at System.Console..cctor () [0x0007d] in <fbab4baee7c44bd8a064d25f6d86a08d>:0 
   --- End of inner exception stack trace ---
  at InstanceManagerCLI.Core.Run () [0x0009e] in <0b5263d4903246a983143374f5d89748>:0 
  at InstanceManagerCLI.Program.<Main> () [0x0000b] in <0b5263d4903246a983143374f5d89748>:0 

Are you using a ssh session or a terminal?

I’m on macOS using the Terminal app to connect to the Linux server and running the commands via that. Does that answer the question?

It does. Try running ‘screen’ then run the same command again.

I got the same error again:

amp@localhost:~$ ampinstmgr upgradeall && ampinstmgr startall

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.EntryPointNotFoundException: SystemNative_LChflagsCanSetHiddenFlag assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
  at Interop+Sys..cctor () [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
   --- End of inner exception stack trace ---
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath, Interop+ErrorInfo& errorInfo) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.IO.Directory.Exists (System.String path) [0x0001e] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.TermInfoDriver.SearchTerminfo (System.String term) [0x00044] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.TermInfoDriver..ctor (System.String term) [0x0004b] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.ConsoleDriver..cctor () [0x0004d] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.Console..cctor () [0x0007d] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
   --- End of inner exception stack trace ---
  at InstanceManagerCLI.Core.Run () [0x0009e] in <0b5263d4903246a983143374f5d89748>:0
  at InstanceManagerCLI.Program.<Main> () [0x0000b] in <0b5263d4903246a983143374f5d89748>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.EntryPointNotFoundException: SystemNative_LChflagsCanSetHiddenFlag assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
  at Interop+Sys..cctor () [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
   --- End of inner exception stack trace ---
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath, Interop+ErrorInfo& errorInfo) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.IO.Directory.Exists (System.String path) [0x0001e] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.TermInfoDriver.SearchTerminfo (System.String term) [0x00044] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.TermInfoDriver..ctor (System.String term) [0x0004b] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.ConsoleDriver..cctor () [0x0004d] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
  at System.Console..cctor () [0x0007d] in <fbab4baee7c44bd8a064d25f6d86a08d>:0
   --- End of inner exception stack trace ---
  at InstanceManagerCLI.Core.Run () [0x0009e] in <0b5263d4903246a983143374f5d89748>:0
  at InstanceManagerCLI.Program.<Main> () [0x0000b] in <0b5263d4903246a983143374f5d89748>:0

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