Can't access OwnCloud or Plex plugin web pages

Status
Not open for further replies.

csjjpm

Contributor
Joined
Feb 16, 2015
Messages
126
Hi,
I have three JAILS. Each is on DHCP and picks up a unique address.
Virtualbox works fine and I can access its web page.
Both OwnCloud and Plex start, pick up a unique IP address but I cannot access their web pages.
I went with the default plugin values for the settings.

I am okay with linux, what should I look for in terminal?

Anyone any ideas.
thanks
Paul
 
D

dlavigne

Guest
What error do you get when you try to connect? Anything related in /var/log/messages in either the affected jail or the FreeNAS system?
 

csjjpm

Contributor
Joined
Feb 16, 2015
Messages
126
Hi,
in FreeNAS I was able to 'nano' the messages file and got
Code:
Feb 23 13:16:09 freenas notifier: Performing sanity check on nginx configuration:                                                  
Feb 23 13:16:09 freenas notifier: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok                       
Feb 23 13:16:09 freenas notifier: nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful                     
Feb 23 13:16:10 freenas epair1a: Ethernet address: 02:42:18:00:08:0a                                                               
Feb 23 13:16:10 freenas epair1b: Ethernet address: 02:42:18:00:09:0b                                                               
Feb 23 13:16:10 freenas kernel: epair1a: link state changed to UP                                                                  
Feb 23 13:16:10 freenas kernel: epair1a: link state changed to UP                                                                  
Feb 23 13:16:10 freenas kernel: epair1b: link state changed to UP                                                                  
Feb 23 13:16:10 freenas kernel: epair1b: link state changed to UP                                                                  
Feb 23 13:16:10 freenas kernel: epair1a: promiscuous mode enabled                                                                  
Feb 23 13:16:10 freenas kernel: ng_ether_ifnet_arrival_event: can't re-name node epair1b                                           
Feb 23 13:16:10 freenas kernel: ng_ether_ifnet_arrival_event: can't re-name node epair1b  


BUT... the JAIL doesnt have nano, how can I list the messages file in the OwnCloud plugin?
thanks
Paul
 

csjjpm

Contributor
Joined
Feb 16, 2015
Messages
126
Okay, got this from the OwnCloud messages file
Code:
Feb 23 11:54:15 owncloud_1 newsyslog[83584]: logfile first created             
Feb 23 11:54:15 owncloud_1 syslogd: kernel boot file is /boot/kernel/kernel    
Feb 23 12:19:45 owncloud_1 dhclient[82909]: connection closed                  
Feb 23 12:19:45 owncloud_1 dhclient[82909]: exiting.                           
Feb 23 12:19:46 owncloud_1 syslogd: exiting on signal 15                       
Feb 23 12:20:29 owncloud_1 syslogd: kernel boot file is /boot/kernel/kernel    
Feb 23 12:26:27 owncloud_1 dhclient[15744]: connection closed                  
Feb 23 12:26:27 owncloud_1 dhclient[15744]: exiting.                           
Feb 23 12:26:27 owncloud_1 syslogd: exiting on signal 15                       
Feb 23 13:16:25 owncloud_1 syslogd: kernel boot file is /boot/kernel/kernel 


thanks
Paul
 

csjjpm

Contributor
Joined
Feb 16, 2015
Messages
126
I've listed processes running in the OwnCloud terminal and it is just:
PID TT STAT TIME COMMAND
32243 0 SsJ 0:00.01 /bin/csh
32300 0 R+J 0:00.00 ps

I would expect there to be a httpd running
 

csjjpm

Contributor
Joined
Feb 16, 2015
Messages
126
I've tried to manually configure IP4 and it won't save. It keeps switching to DHCP only. I untick the DHCP on IP4 and put all the values in and click SAVE and DHCP is still ticked.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Did you start the plugins from the Plugins>Installed tab?

FreeNAS is not linux
Code:
pkg install nano
 

csjjpm

Contributor
Joined
Feb 16, 2015
Messages
126
Hi,
yes I installed the plugin 'owncloud_1'.
I gave up and deleted it and created a standard JAIL and followed DrKK's guide which has worked fine.
I might just do the same and setup Plex from a standard JAIL as the plugins are not very consistent.
Paul
 

csjjpm

Contributor
Joined
Feb 16, 2015
Messages
126
I tried to install nano but got an error about 'unable to update repository local' which I put down to the networking issue
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hi,
yes I installed the plugin 'owncloud_1'.
I gave up and deleted it and created a standard JAIL and followed DrKK's guide which has worked fine.
I might just do the same and setup Plex from a standard JAIL as the plugins are not very consistent.
Paul
I know that you installed the plugin, I was wondering if you knew to start it. But it doesn't matter now, lol.
 

csjjpm

Contributor
Joined
Feb 16, 2015
Messages
126
The plugin was already set to autostart, it was 'green' and I could ping the plugin IP from a console in Freenas and from a workstation on my network. I just couldnt access the web interface
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
The plugin was already set to autostart, it was 'green' and I could ping the plugin IP from a console in Freenas and from a workstation on my network. I just couldnt access the web interface
it sound like you did start it then. what's strange is you had no processes running in your jail. there should have been a python process that controls the plugin, and the apache process (whenever you start the plugin)

glad you got it working either way.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hi Joshua, I've discovered your instructions so I am going to attempt to do it that way.

I really want
http://owncloud.mydomain.com
along side my normal
www.mydomain.com
hopefully I can figure it out ;-)
where is www.mydomain.com hosted from? if it's not from the same nginx instance then you need something to split requests based on hostname somewhere. I personally do this with varnish running on my pfsense router.
 
Status
Not open for further replies.
Top