Locked myself out of Freenas

Status
Not open for further replies.

XenoMorpHx

Dabbler
Joined
Nov 30, 2014
Messages
17
I recently changed the port to my NAS server to 8182, but I forgot that Webdav also uses that port.
I can not log into the admin area anymore.
Any idea's on how to solve this so I can enter the admin area?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Log in on the console, reset the configuration, and then upload a previously backed-up configuration that worked.
 

XenoMorpHx

Dabbler
Joined
Nov 30, 2014
Messages
17
Tnx
But I don't know if I ever made a backup..LOL.

I'll c what I can do, it's been a while since I opened the console, it's running for quite some time.
 

INCSlayer

Contributor
Joined
Apr 4, 2015
Messages
197
shouldnt you be able to turn the webdav service off from the console?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
shouldnt you be able to turn the webdav service off from the console?

No. The console is not for complex configuration tasks. It's there to configure the system just enough to get your system on the network so you can hit the GUI.
 

INCSlayer

Contributor
Joined
Apr 4, 2015
Messages
197
No. The console is not for complex configuration tasks. It's there to configure the system just enough to get your system on the network so you can hit the GUI.
i know that your not supposed to but i thought the functionality was there just you know not recommended
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Stopping the webdav service from the CLI, while a hack, should be good enough to get the GUI working again. It won't be particularly pretty, but it should be manageable - ensure webdav isn't being used, etc.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
I wasn't aware that the service console offered this option. Which number is it?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I wasn't aware that the service console offered this option. Which number is it?
Well, it allows access to the shell, so it's just a matter of calling whatever script the GUI uses.

Or at least it did allow access to the shell.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Weak, Eric. With that logic, you could argue that, yes, of course, you can add a single hard disk to a RAIDZ because it's possible for you to code up block pointer rewrite for ZFS. While technically true, it isn't likely to be a practical solution for the average user. It isn't clear to me that it's as simple as calling a script, and it's certainly clear to me that the average new user who can't figure out how to recover from a mistake like this is not going to figure out which script might do this.
 
Status
Not open for further replies.
Top