comet424 Posted November 9, 2018 Share Posted November 9, 2018 im making a new topic since i not sure if the rsync topic can fix this i had posted i having lots issues with the rsync now it said someone tampering and such... i had uninstalled SSH Plugin didnt help i reinstalled it didnt help i uninstalled it deleted the SSH folder and rebooted tower now when i booted up i get 502 bad gateway... i can telenet in... and my Plex server still works.. but i cant access gui to reinstall ssh for rysnc is there an easy fix?? Link to comment
Squid Posted November 9, 2018 Share Posted November 9, 2018 Can you hit the GUI by using the IP address? Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 nope i dunno what happened all i did was uninstall that ssh deleted the ssh folder so i had a good clean install after i do a reboot and im locked out.. i tried googling for help so i wouldnt bother you guys but didnt help 😞 Link to comment
Squid Posted November 9, 2018 Share Posted November 9, 2018 From the command promptdiagnosticsThen post the resulting file hereSent from my SM-T560NU using Tapatalk Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 tower-diagnostics-20181108-2332.zip Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 oh i also notice i can no longer \\tower in windows so cant see files i tried filezilla and i cant access the mnt folders failed to retrieve directory listings hopefully the file i sent tells you something Link to comment
Squid Posted November 9, 2018 Share Posted November 9, 2018 First thing I'd try doing is boot into safe mode. If that doesn't get you anywhere, I would try deleting /config/ident.cfg from the flash drive and go from there. Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 how i boot to safe mode... id have to get a video card as right now the server is a headless doesnt have a video card did the files show anything? Link to comment
itimpi Posted November 9, 2018 Share Posted November 9, 2018 Just now, comet424 said: how i boot to safe mode... id have to get a video card as right now the server is a headless doesnt have a video card did the files show anything? You can edit the syslinux.cfg file on the boot drive (click on it in the Main tab) and move the ‘default’ entry to the Safe Mode option. Rebooting will then bring you up in Safe Mode. Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 how you click the main tab since i cant get to the main page i did rename the ident.cfg file to !ident.cfg i hit the reset button on the computer and let it boot back up... still cant get to the main page i can still use filezilla to access the server.. still cant access the mnt folder still cant \\tower either... i guess i need to install video card and then and i looked at the file all it shows in the file is " include /syslinux/syslinux.cfg" it was located /boot/EFI/boot so how do i make that boot into safe mode... big problems when you have no video card on the server anything else i could do before i try to get a video card in the machine Link to comment
itimpi Posted November 9, 2018 Share Posted November 9, 2018 Just now, comet424 said: how you click the main tab since i cant get to the main page i did rename the ident.cfg file to !ident.cfg i hit the reset button on the computer and let it boot back up... still cant get to the main page i can still use filezilla to access the server.. still cant access the mnt folder still cant \\tower either... i guess i need to install video card and then and i looked at the file all it shows in the file is " include /syslinux/syslinux.cfg" it was located /boot/EFI/boot so how do i make that boot into safe mode... big problems when you have no video card on the server anything else i could do before i try to get a video card in the machine The file you want to edit is in syslinux/syslinux.cfg - not the one in the EFI folder. Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 ok what do i edit in here.. and will this let me boot to safe mode and then i can telnet in.. or do i still need to do it on the computer.. as i mentioned no video card in that computer but here is the file default menu.c32 menu title Lime Technology, Inc. prompt 0 timeout 50 label unRAID OS menu default kernel /bzimage append initrd=/bzroot label unRAID OS GUI Mode kernel /bzimage append initrd=/bzroot,/bzroot-gui label unRAID OS Safe Mode (no plugins, no GUI) kernel /bzimage append initrd=/bzroot unraidsafemode label unRAID OS GUI Safe Mode (no plugins) kernel /bzimage append initrd=/bzroot,/bzroot-gui unraidsafemode label Memtest86+ kernel /memtest Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 never thought i could bugger this up lol ugh as long as my files arent deleted on my hard drives and parity drive im ok was fine till i tackled this rsync and some of it wasnt working... im guessing i gonna need to pull a video card out of another computer.. Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 if worse comes to worse and i have to format and install the usb can i import a configuration file that re imports the dockers.. my windows server vm and such like Pfsense does you save config and it loads it thats if you guys cant figure whats wrong Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 oh and i tried rsyncing from the backup computer to the main unraid and i was able to transfer files.. but i can not access the shares.. s so unraid can see unraid shares but filezilla for mnt/ or the \\tower in windows is unaccesable. so i not sure if that helps you guys figure what is wrong Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 so i plugged in a video card and monitor on the unraid computer and booted to safe mode no plugins no gui and still get 502 error Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 if i run safe mode that has no plugins but runs the gui i log in.. i click the start button and click web interface... and just loads up fire fox and says sorry we are updating it before you can use it thing and to click restart button on the firefox doesnt do anything else Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 now what is my next steps to fix it since im in safe mode Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 ok i fixed it i re edited the go file and rem'd out the stuff i added.. but what is wrong with it.. i added this code from hoopster for rsync but what is wrong with it?? or what should be fixed #cd /root/.ssh #cp /boot/config/sshroot/* /root/.ssh/ #chmod 600 * ##Setup drivers for hardware decoding in Plex #modprobe i915 #chown -R nobody:users /dev/dri #chmod -R 777 /dev/dri ## Copy SSH files back to /root/.ssh folder and set permissions for files #mkdir -p /root/.ssh #cp /boot/config/ssh/medianas_key /root/.ssh/id_rsa #cp /boot/config/ssh/known_hosts /root/.ssh/known_hosts #cat /boot/config/ssh/backupnas_key.pub > /root/.ssh/authorized_keys #chmod g-rwx,o-rwx -R /root/.ssh #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & Link to comment
John_M Posted November 9, 2018 Share Posted November 9, 2018 3 minutes ago, comet424 said: i added this code from hoopster for rsync but what is wrong with it?? Perhaps @Hoopster can offer some advice. Didn't you delete /root/.ssh somewhere earlier in your monologue? If so, then cd /root/.ssh would fail and chmod 600 * would be applied to your current working directory and probably break a few things, making them non-executable. Surely chmod 600 /root/.ssh/* would be much safer. Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 because i know i was editing the go file that was in that notflash folder that wasnt even working lol but i was reading also linustechtips there article so i might have used his and theres together... so unraid is very fussy if something deleted it breaks is there no way for like a if file doesnt exsist dont break the software just report a warning in a log and with dislexia and all the stuff i was reading to try to fix his rsync to fix mine.. like i need "tac" program to write to log files and didnt wanna bug him always i try googling alot too i might have mixed something up in the end Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 and ya i had deleted the ssh folder and uninstalled the ssh plugin and when i rebooted unraid thats when i got that 502 error Link to comment
bonienl Posted November 9, 2018 Share Posted November 9, 2018 Unraid comes with SSH built-in. Why do you install another SSH application? Link to comment
comet424 Posted November 9, 2018 Author Share Posted November 9, 2018 why would i know if unraid comes with ssh... when i was reading to use rsync you need to have cron ssh and one other thing installed.. like id know if ssh package installed... and when i went to apps to search it said ssh plugins so i installed it.. and the cron i learned is installed too but it doesnt work nor does the whats cron icon under ssh plugins as i need to use this "tac" command Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.