Owncloud connection refused

Status
Not open for further replies.

icsy7867

Contributor
Joined
Dec 31, 2015
Messages
167
I had freenas installed in a VM with the owncloud plugin installed. After installing the plugin I was able to launch owncloud and get all my SSL certs installed without a problem.

I recently installed Freenas onto a thumbdrive and I am running it directly on the hardware (The performance gains was HUGE!). I installed the owncloud plugin but when I try to access the web page it simply says "Connection Refused".

I SSH'd into the jail and tried turning off ipfw for testing but this did not change anything. Does anyone have any suggestions? I can't figure out what is causing the website not to show up!
 

icsy7867

Contributor
Joined
Dec 31, 2015
Messages
167
Nevermind. Spoke too soon.

The service simply was not started... Don't know why...

/usr/local/etc/rc.d/apache24 start
Started the service.

echo 'apache24_enable="YES"' >> /etc/rc.conf
Made it work on reboot.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Did you turn on the plugin after you installed it? By default, plugins aren't turned on when they're installed. Don't ask me why. You shouldn't have to manually edit rc.conf.
 

icsy7867

Contributor
Joined
Dec 31, 2015
Messages
167
yes, the plugin is set to "on". I even tried removing the jail and adding a new instance with the same behavior. not sure why!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
yes, the plugin is set to "on". I even tried removing the jail and adding a new instance with the same behavior. not sure why!
is there an owncloud icon in the left panel of your freenas webui? if not it could be that there is a communication issue somewhere between freenas and the plugins middleware layer ( that starts and enables the service)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Do you mean under the plugins section? There is
yeah, on the left side. Strange, then starting/stopping the plugin should also enable apache_24 in the rc.conf
 

icsy7867

Contributor
Joined
Dec 31, 2015
Messages
167
Oddly enough... this is happening with all of my plugins...

Just installed plex, and I checked rc.conf

Code:
plexmediaserver_enable="NO"


Of course changing this to "YES" fixed this issue right up. Not a big deal, but not sure why it's happening.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
can I see a screenshot of you Plugins > Installed tab?
 

icsy7867

Contributor
Joined
Dec 31, 2015
Messages
167
Sure thing!

plugins_zpsglymh3hl.png


I appreciate your quick responses on the matter!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Sure thing!

plugins_zpsglymh3hl.png


I appreciate your quick responses on the matter!
So those 'service status' buttons don't work? but they do seem to show the status correctly
 

icsy7867

Contributor
Joined
Dec 31, 2015
Messages
167
I never messed with them, they always appeared in the "ON" position I believe.

Basically on my first freenas install (inside of a vmware player), installing the owncloud plugin, and then going to the URL worked immediately. But this time around it does not appear to work until I manually start the services inside of the respective jails

Code:
sudo jexec (Jail #, from running jls) tcsh
service 'servicename' onestart


And then adding
Code:
servicename_enable="YES"

to /etc/rc.conf
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I never messed with them, they always appeared in the "ON" position I believe.

Basically on my first freenas install (inside of a vmware player), installing the owncloud plugin, and then going to the URL worked immediately. But this time around it does not appear to work until I manually start the services inside of the respective jails

Code:
sudo jexec (Jail #, from running jls) tcsh
service 'servicename' onestart


And then adding
Code:
servicename_enable="YES"

to /etc/rc.conf
I don't believe the plugins ever started themselves. you're supposed to click those buttons which enables the service in rc.conf and starts it.

can you try the buttons?
 

icsy7867

Contributor
Joined
Dec 31, 2015
Messages
167
They stop and start appropriately. Maybe I was just being silly, it was just a slightly different behavior from my first install.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
yup sounds like you just didn't know how things start now. now you know =P
 
Status
Not open for further replies.
Top