Skip to content

Exception when trying your Container #1

Description

@Magic01

Hi, found your containter in Google and tried it but when I start it, I get the following exception:

***Running /etc/my_init.d/startup.sh...

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'WGconsole.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
File name: '/etc/localtime'
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x7ff70795d2c0 + 0x005ed> in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x7ff70795cf30 + 0x0004b> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) <0x7ff70795aa50 + 0x00034> in <filename unknown>:0
  at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x7ff7078bbfe0 + 0x00032> in <filename unknown>:0
  at System.TimeZoneInfo.CreateLocal () <0x7ff7078ba850 + 0x00176> in <filename unknown>:0
  at System.TimeZoneInfo.get_Local () <0x7ff7078ba7c0 + 0x00025> in <filename unknown>:0
  at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x7ff7078bbce0 + 0x00017> in <filename unknown>:0
  at System.DateTime.get_Now () <0x7ff707764260 + 0x00046> in <filename unknown>:0
  at WGconsole.Program..cctor () <0x41430d50 + 0x00096> in <filename unknown>:0
  --- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'WGconsole.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
File name: '/etc/localtime'
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x7ff70795d2c0 + 0x005ed> in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x7ff70795cf30 + 0x0004b> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) <0x7ff70795aa50 + 0x00034> in <filename unknown>:0
  at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x7ff7078bbfe0 + 0x00032> in <filename unknown>:0
  at System.TimeZoneInfo.CreateLocal () <0x7ff7078ba850 + 0x00176> in <filename unknown>:0
  at System.TimeZoneInfo.get_Local () <0x7ff7078ba7c0 + 0x00025> in <filename unknown>:0
  at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x7ff7078bbce0 + 0x00017> in <filename unknown>:0
  at System.DateTime.get_Now () <0x7ff707764260 + 0x00046> in <filename unknown>:0
  at WGconsole.Program..cctor () <0x41430d50 + 0x00096> in <filename unknown>:0
  --- End of inner exception stack trace ---
*** /etc/my_init.d/startup.sh failed with status 1

*** Killing all processes...
[~] #

Any idea?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions