Reboot no GUI or Web service? [SOLVED]


Recommended Posts

Hi All

 

HELP! I did a shutdown and a reboot with GUI and now I get this;

image.thumb.png.044ada0ac8c4ebe072ebd9b026b5534c.png

I can connect using putty? and I did make some standard backup (Video guide) but I have no clue on how to get it restores without a UI?

 

Best regards

Casperse

 

UPDATE I have also access to the flash drive through SAMBA (Other drives is not there because they need to be mounted through the UI (Encryption)

So if I need access to the backup I need to start the array through the terminal and somehow type the password?

 

 

SYSLOG Attached:  syslog.txt

 

LOG files from: cat /var/log/syslog

 

 

 

PLEXZONE:~# -bash: Jun: command not found
-bash: -bash:: command not found
root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md14: stopping
root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md13: stopping
-bash: Jun: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md13: stopping
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# -bash: Jun: command not found
Jun 10 18:18:54 PLEXZONE kernel: md15: stopping
-bash: -bash:: command not found
root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md15: stopping
-bash: Jun: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md14: stopping
-bash: Jun: command not found
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# -bash: Jun: command not found
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md15: stopping
-bash: Jun: command not found
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# -bash: Jun: command not found
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md16: stopping
-bash: Jun: command not found
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# -bash: Jun: command not found
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md17: stopping
Jun 10 18:18:54 PLEXZONE kernel: md18: stopping
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md18: stopping
-bash: Jun: command not found
root@PLEXZONE:~# -bash: Jun: command not found
root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md18: stopping
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md18: stopping
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# -bash: Jun: command not found
root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md19: stopping
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md19: stopping
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md20: stopping
-bash: Jun: command not found
root@PLEXZONE:~# -bash: Jun: command not found
root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md20: stopping
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md20: stopping
-bash: Jun: command not found
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# -bash: Jun: command not found
root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md22: stopping
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE kernel: md22: stopping
-bash: root@PLEXZONE:~#: command not found
Jun 10 18:18:54 PLEXZONE avahi-daemon[7353]: Server startup complete. Host name                                                                                                        is PLEXZONE.local. Local service cookie is 1712556334.
root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE avahi-daemon[7353]: Server startup complete. Host name                                                                                                        is PLEXZONE.local. Local service cookie is 1712556334.
-bash: Jun: command not found
root@PLEXZONE:~# -bash: Jun: command not found
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:54 PLEXZONE avahi-daemon[7353]: Server startup complete. Host name                                                                                                        is PLEXZONE.local. Local service cookie is 1712556334.
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# Jun 10 18:18:55 PLEXZONE avahi-daemon[7353]: Service "PLEXZONE" (/services/ssh.s                                                                                                       ervice) successfully established.
-bash: syntax error near unexpected token `('
root@PLEXZONE:~# -bash: Jun: command not found
root@PLEXZONE:~# Jun 10 18:18:55 PLEXZONE avahi-daemon[7353]: Service "PLEXZONE" (/services/ssh.s                                                                                                       ervice) successfully established.
-bash: -bash:: command not found
-bash: syntax error near unexpected token `('
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:55 PLEXZONE avahi-daemon[7353]: Service "PLEXZONE" (/services/ssh.s                                                                                                       ervice) successfully established.
-bash: syntax error near unexpected token `('
root@PLEXZONE:~# -bash: syntax error near unexpected token `('
> root@PLEXZONE:~# Jun 10 18:18:55 PLEXZONE avahi-daemon[7353]: Service "PLEXZONE" (/services/smb.s                                                                                                       ervice) successfully established.
> -bash: syntax error near unexpected token `('
-bash: syntax error near unexpected token `('
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:18:55 PLEXZONE avahi-daemon[7353]: Service "PLEXZONE" (/services/sftp-                                                                                                       ssh.service) successfully established.
-bash: syntax error near unexpected token `('
root@PLEXZONE:~# -bash: syntax error near unexpected token `('
> root@PLEXZONE:~# Jun 10 18:19:17 PLEXZONE dbus-daemon[9951]: [session uid=0 pid=9948] Activating                                                                                                        service name='org.a11y.Bus' requested by ':1.0' (uid=0 pid=9944 comm="firefox --                                                                                                       profile /usr/share/mozilla/firefox/9n35r")
> -bash: syntax error near unexpected token `('
-bash: syntax error near unexpected token `('
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:19:17 PLEXZONE dbus-daemon[9951]: [session uid=0 pid=9948] Successfull                                                                                                       y activated service 'org.a11y.Bus'
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# Jun 10 18:23:00 PLEXZONE sshd[28663]: Accepted password for root from 192.168.0.                                                                                                       176 port 55467 ssh2
-bash: Jun: command not found
-bash: Jun: command not found
root@PLEXZONE:~# Jun 10 18:23:00 PLEXZONE sshd[28663]: Accepted password for root from 192.168.0.                                                                                                       176 port 55467 ssh2
root@PLEXZONE:~# -bash: Jun: command not found
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:23:00 PLEXZONE sshd[28663]: Accepted password for root from 192.168.0.                                                                                                       176 port 55467 ssh2
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# Jun 10 18:23:57 PLEXZONE ntpd[2129]: kernel reports TIME_ERROR: 0x41: Clock Unsy                                                                                                       nchronized
root@PLEXZONE:~# -bash: Jun: command not found
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~# Jun 10 18:23:57 PLEXZONE ntpd[2129]: kernel reports TIME_ERROR: 0x41: Clock Unsy                                                                                                       nchronized
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# -bash: Jun: command not found
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~#
root@PLEXZONE:~# root@PLEXZONE:~# root@PLEXZONE:~#
-bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~# -bash: root@PLEXZONE:~#: command not found
root@PLEXZONE:~#
-bash: -bash:: command not found
root@PLEXZONE:~# root@PLEXZONE:~#

The array is not set to autostart
 

Edited by casperse
Link to comment

I am getting really worried now!

 

1) Booting in safemode same thing no UI Webservice

2) Creating a new USB and copying the config folder to that new USB and booting from it same problem?

 

Could I end up loosing all my data? I have the encryption password and should be able to decrypt even if I need to start with a brand new fresh install of Unraid right?

 

Telnet works, and because I have manuel startup of the array I can only access the Flash from Samba...

I do have backups scheduled but since they are on a encrypted array that I cannot start, I am not able to access my backup

(Need to correct that in the future)

 

Update: Created unraid support request.....

Edited by casperse
Link to comment

Just a word of re-assurance to say your data should be safe.    Each array disk under Unraid is a self-contained File System that in the worst case can easily be read on any Linux System.

 

It might be worth recreating your USB stick WITHOUT copying over the config folder and see if the GUI boots OK.   The only thing to copy initially would be the Unraid license file.  That would at least prove that you have some sort of problem in one of your config files and a careful process of elimination should allow the culprit to be identified.

 

Whatever you do, do NOT attempt to do anything like format a disk as that would wipe its contents.

Link to comment

The problem is that nginx (the http server) is crashing:
 

Jun 10 18:18:53 PLEXZONE emhttpd: shcmd (26): /etc/rc.d/rc.nginx start
Jun 10 18:18:53 PLEXZONE root: unable to load certificate
Jun 10 18:18:53 PLEXZONE root: 22497627080512:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE
Jun 10 18:18:53 PLEXZONE root: Starting Nginx server daemon...
Jun 10 18:18:53 PLEXZONE root: nginx: [emerg] PEM_read_bio_X509_AUX("/etc/ssl/certs/unraid_bundle.pem") failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)
Jun 10 18:18:53 PLEXZONE emhttpd: shcmd (26): exit status: 1

Before I offer some suggestions, two things:

  1. You mention "creating a new USB boot" - please use your original flash device, without any changes.  Next from console/telnet type the command "diagnostics" - you will see that it creates a file on your flash in the 'logs' directory.  Please post that file.
  2. Please do not call out forum member names just to try and gain their attention.
Link to comment
8 minutes ago, limetech said:

The problem is that nginx (the http server) is crashing:
 


Jun 10 18:18:53 PLEXZONE emhttpd: shcmd (26): /etc/rc.d/rc.nginx start
Jun 10 18:18:53 PLEXZONE root: unable to load certificate
Jun 10 18:18:53 PLEXZONE root: 22497627080512:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE
Jun 10 18:18:53 PLEXZONE root: Starting Nginx server daemon...
Jun 10 18:18:53 PLEXZONE root: nginx: [emerg] PEM_read_bio_X509_AUX("/etc/ssl/certs/unraid_bundle.pem") failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)
Jun 10 18:18:53 PLEXZONE emhttpd: shcmd (26): exit status: 1

Before I offer some suggestions, two things:

  1. You mention "creating a new USB boot" - please use your original flash device, without any changes.  Next from console/telnet type the command "diagnostics" - you will see that it creates a file on your flash in the 'logs' directory.  Please post that file.
  2. Please do not call out forum member names just to try and gain their attention.

Sorry but both have helped me before, so felt I was okay to reach out to them on a personal level...

It was not a random call for help

 

 

 

plexzone-diagnostics-20190610-2249.zip

Edited by casperse
Link to comment

Not sure the exact issue but something is wrong with your SSL cert.  This is not included in diags (obviously) but should be on the flash in config directory:

config/ssl/certs

named either certificate_bundle.pem or PLEXZONE_unraid_bundle.pem.

 

I suggest you delete any pem files (or rename them to different extension) you find there and then edit the file config/ident.cfg.

Find the line that say:

USE_SSL="auto"

change to:

USE_SSL="no"

 

Now your server webGUI should answer up at PLEXZONE.local or use it's IP address.  Next you can go to Settings/Management Access and re-enable https (set back to Auto) and let it download a new LetsEncrypt cert.

Link to comment
7 hours ago, limetech said:

Not sure the exact issue but something is wrong with your SSL cert.  This is not included in diags (obviously) but should be on the flash in config directory:


config/ssl/certs

named either certificate_bundle.pem or PLEXZONE_unraid_bundle.pem.

 

I suggest you delete any pem files (or rename them to different extension) you find there and then edit the file config/ident.cfg.

Find the line that say:


USE_SSL="auto"

change to:


USE_SSL="no"

 

Now your server webGUI should answer up at PLEXZONE.local or use it's IP address.  Next you can go to Settings/Management Access and re-enable https (set back to Auto) and let it download a new LetsEncrypt cert.

Thanks that solved it !!!

 

To the reason why this happens after a perfect "powerdown"...

 

One reason might be a breaking change in the Unifi controller (If this is the case then I need to keep it without SSL, for the time being)

See my other post with the Unifi fix to get SSL working in Unraid

(Warning to other people using the Unifi home network, last Unifi update might break your Unraid from booting?)

 

 

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.