Subtixx Posted November 6, 2020 Share #1 Posted November 6, 2020 Hello, Today I started my synology and was greeted with "The site cannot be found". After restarting the microserver it doesnt load the page at all. I unfortunately have not enabled SSH... Is there any way I can recover it without reinstalling? Quote Link to comment Share on other sites More sharing options...
bearcat Posted November 6, 2020 Share #2 Posted November 6, 2020 Does it get an IP from your DHCP server? Quote Link to comment Share on other sites More sharing options...
Subtixx Posted November 6, 2020 Author Share #3 Posted November 6, 2020 (edited) Yea I can access the WebUI but it shows this Is there any way to enable SSH from a ubuntu liveCD? Edited November 6, 2020 by Subtixx Quote Link to comment Share on other sites More sharing options...
Subtixx Posted November 6, 2020 Author Share #4 Posted November 6, 2020 (edited) Running mdadm --detail /dev/md/2 on a ubuntu live CD shows 2 of the 3 Drives. Running mdadm --detail /dev/md0 (Synology System Partition) shows the third missing data disk, and the 2nd disk but is missing the first data disk. The whole system works with only with the 2nd volume disk (which is another SSD disk). Putting 1 or 2 of the data disks the login doesn't work. It doesnt find my user and the admin user is disabled for some reason. Putting all 3 in there the web ui doesn't work at all. This started after a period of not using the NAS and having it shutdown for a month. Edited November 6, 2020 by Subtixx Quote Link to comment Share on other sites More sharing options...
IG-88 Posted November 6, 2020 Share #5 Posted November 6, 2020 if you are able to mount and r/w md0 then you could activate ssh manually you would also be able to see the logs that might give you some insights of whats going on one failing disk does not prevent the dsm system (and its webgui) from starting, its a raid1 over all disks and it should start as long as at least one disk is operational Quote Link to comment Share on other sites More sharing options...
flyride Posted November 6, 2020 Share #6 Posted November 6, 2020 54 minutes ago, IG-88 said: if you are able to mount and r/w md0 then you could activate ssh manually What is the DSM config entry for this? Looked for it a few times but have not found it. Quote Link to comment Share on other sites More sharing options...
IG-88 Posted November 6, 2020 Share #7 Posted November 6, 2020 38 minutes ago, flyride said: What is the DSM config entry for this? Looked for it a few times but have not found it. not tested but my guess was /usr/syno/etc/synoservice.override/ssh-shell.cfg { "auto_start":"yes" } 1 Quote Link to comment Share on other sites More sharing options...
Subtixx Posted November 6, 2020 Author Share #8 Posted November 6, 2020 1 hour ago, IG-88 said: not tested but my guess was /usr/syno/etc/synoservice.override/ssh-shell.cfg { "auto_start":"yes" } Okay thanks, but when I cannot login in DSM, I wont be able to log in in SSH wont I? Quote Link to comment Share on other sites More sharing options...
IG-88 Posted November 6, 2020 Share #9 Posted November 6, 2020 (edited) 2 minutes ago, Subtixx said: Okay thanks, but when I cannot login in DSM, I wont be able to log in in SSH wont I? if the problem is related to the webgui then ssh will still work, its a independent service Edited November 6, 2020 by IG-88 1 Quote Link to comment Share on other sites More sharing options...
Subtixx Posted November 8, 2020 Author Share #10 Posted November 8, 2020 On 11/6/2020 at 9:31 PM, IG-88 said: not tested but my guess was /usr/syno/etc/synoservice.override/ssh-shell.cfg { "auto_start":"yes" } Did this but SSH is still not working 😕 Quote Link to comment Share on other sites More sharing options...
IG-88 Posted November 8, 2020 Share #11 Posted November 8, 2020 (edited) 7 hours ago, Subtixx said: Did this but SSH is still not working also delete /usr/share/init/ssh-shell.override /usr/share/init/sshd.override if not present the sshd.conf/ssh-shell.conf will run at boot, the *.override prevents it from starting automatically i tested that with a fresh dsm6.2.3 installation together with the /usr/syno/etc/synoservice.override/ssh-shell.cfg it worked as intended and i was able to use ssh even never configured in the webgui Edited November 8, 2020 by IG-88 1 Quote Link to comment Share on other sites More sharing options...
Subtixx Posted November 9, 2020 Author Share #12 Posted November 9, 2020 (edited) Hmm that didnt work for me, ssh still not enabled and cannot login. I'm trying now to remove the first drive and try to boot it that way. EDIT: Removing the first (sda) drive results in a boot and I can log in Edited November 9, 2020 by Subtixx Quote Link to comment Share on other sites More sharing options...
IG-88 Posted November 11, 2020 Share #13 Posted November 11, 2020 On 11/9/2020 at 11:21 AM, Subtixx said: Hmm that didnt work for me, ssh still not enabled and cannot login. did you mount the whole raid1 with all drives? maybe there is something else wrong i tested this with a fresh dsm 6.2.3 install, after 1st login in webgui i did a shutdown, mounted the raid1 with a rescue linux (mdadm ..., mount , ...), changed the files and after this i was able to login and it also showed the ssd as enabled in the webgui On 11/9/2020 at 11:21 AM, Subtixx said: Removing the first (sda) drive results in a boot and I can log in a crashed raid5 is not so good is you only removed one disk it should be degraded because one redundancy disk failed also the message about system partitions is unusual, not a problem as is can be repaired from the running system but before you do anything else you should reinsert the removed disk so dsm should recognize its system partiton as invalid and on next boot it should not be used for booting until you repair the system partitions (raid1 copy from running partition), hopefully the reboot with the missing disk might bring up the raid5 again as degraded, if not it might be possible to repair it by forcing a failed drive back into the raid and ignoring the (small) data loss, for that it needs a good estimation of the state, @flyride is the one with the most experience here with that kind of task, you can also look for threads with mdadm and recovery where he helped out, if you are familiar with linux and the technical workings of a mdadm raid set its not so difficult to understand the process from reading a thread where a recovery was done Quote Link to comment Share on other sites More sharing options...
flyride Posted November 11, 2020 Share #14 Posted November 11, 2020 I'd try booting on the drive that allows boot, then hot plugging the other two drives once it's up and running. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.