Jump to content

Recommended Posts

Posted

It's in his screenshot bott0r

 

 

This is actually my repo. Which as you can see i am not a programmer, question is why does it not work, as it worked flawless for me :D

Posted

I'm not sure, but perhaps eventually we can have an official beta process so that you don't have to do that anymore. However so far our experience with freebsd is that we're constantly having to put out fires due to this latest/quarterly packages business. 

Posted

I'm not sure, but perhaps eventually we can have an official beta process so that you don't have to do that anymore. However so far our experience with freebsd is that we're constantly having to put out fires due to this latest/quarterly packages business. 

 

I see.  I Just installed the 66 beta using my repo and it works flawless. I am always a version or so behind because i test with some files before i change the repo. Let me know what you think. 

Posted

Yeah. It says it can't find the 11.2-RELEASE at your Repo. Then is says it's using master instead and errors out saying it can't find the 11.2 release

Posted

Yeah. It says it can't find the 11.2-RELEASE at your Repo. Then is says it's using master instead and errors out saying it can't find the 11.2 release

 

 

would you mind telling me what freenas version you are using and what are your CLI commands.

Posted

FreeNAS-11.2-RC2

 

CLI Commands:

 

wget https://raw.githubusercontent.com/bott0r/iocage-plugin-emby-beta/master/emby-server-beta.json

 

iocage fetch -P --name emby-server-beta.json ip4_addr="vnet0|192.168.1.2/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on" host_hostname="emby-beta" host_domainname=""

Posted

@@Luke Any reason the freenas packages aren't part of every release?

Posted (edited)

FreeNAS-11.2-RC2

 

CLI Commands:

 

wget https://raw.githubusercontent.com/bott0r/iocage-plugin-emby-beta/master/emby-server-beta.json

 

iocage fetch -P --name emby-server-beta.json ip4_addr="vnet0|192.168.1.2/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on" host_hostname="emby-beta" host_domainname=""

Please try dhcp.

 

iocage fetch -P dhcp=on vnet=on bpf=yes -n emby-server-beta.json --branch 'master'

Edited by makarai
Posted

@@Luke Any reason the freenas packages aren't part of every release?

 

What do you mean by every release?

Posted

The newest Freenas is 3.6.0.68 vs the newest one 3.6.0.71 available. This makes it a little harder for scripting but not impossible :-)

Posted

The freebsd builds are more complicated than other platforms. Issues arising from that are the main reason why some releases might get skipped.

Posted (edited)

The server looks like it's saving the Emby-server-beta.json file as emby-server-beta.json.13 or some other random number on the end. Then when I do this command:

iocage fetch -P --name emby-server-beta.json ip4_addr="vnet0|192.168.1.2/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on" host_hostname="emby-beta" host_domainname=""

it tries to find emby-server-beta.json that doen't exist.

 

Where does FreeNas save emby-server-beta.json once I run the wget command and download it??

Edited by WingraMax
Posted (edited)

Depends in which folder you are.

Type ls in shell and find out

ls

you can always use the tmp folder then at least you know where you are.

cd /tmp
wget https://raw.githubusercontent.com/ma-karai/iocage-plugin-emby-beta/master/emby-server-beta.json
iocage fetch -P dhcp=on vnet=on bpf=yes -n emby-server-beta.json --branch 'master' 
Edited by makarai
Posted

The "random" number at the end is because the file exists already in the directory you are downloading it in. So the default is to add a. 01,. 02,. 03, etc... instead of overwriting the existing file. In your case that means you've downloaded the file at least 13 times.

The server looks like it's saving the Emby-server-beta.json file as emby-server-beta.json.13 or some other random number on the end. Then when I do this command:

iocage fetch -P --name emby-server-beta.json ip4_addr="vnet0|192.168.1.2/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on" host_hostname="emby-beta" host_domainname=""

it tries to find emby-server-beta.json that doen't exist.

 

Where does FreeNas save emby-server-beta.json once I run the wget command and download it??

Sent from my ONEPLUS A5000 using Tapatalk

Posted

A little help and pointer 

Loaded clean 11.2 Beta 3 that has been no problem

Tried to load Emby from the plug in menu and it loads of until the last line then destroys itself

 

pkg-static: /var/db/pkg/local.sqlite permissions (0775) too lax

 

my directory listing is 

[root@@freenas /var/db/pkg]# ls -l

-rwx------  1 root  wheel       246 Nov 26 09:28 local.meta
-rw-r--r--  1 root  wheel  20025344 Nov 26 09:28 local.sqlite
-rwx------  1 root  wheel    962560 Nov 26 09:28 repo-local.sqlite
[root@@freenas /var/db/pkg]#
 
I have tried suggestions in this thread but to no avail, so what am I doing wrong?
Please bare with me as not the brightest with FreeNas command line commands
Thanks
Posted (edited)

 

A little help and pointer 

Loaded clean 11.2 Beta 3 that has been no problem

Tried to load Emby from the plug in menu and it loads of until the last line then destroys itself

 

pkg-static: /var/db/pkg/local.sqlite permissions (0775) too lax

 

my directory listing is 

[root@@freenas /var/db/pkg]# ls -l

-rwx------  1 root  wheel       246 Nov 26 09:28 local.meta
-rw-r--r--  1 root  wheel  20025344 Nov 26 09:28 local.sqlite
-rwx------  1 root  wheel    962560 Nov 26 09:28 repo-local.sqlite
[root@@freenas /var/db/pkg]#
 
I have tried suggestions in this thread but to no avail, so what am I doing wrong?
Please bare with me as not the brightest with FreeNas command line commands
Thanks

 

 

have you tried the following

cd /tmp
wget https://raw.githubusercontent.com/ma-karai/iocage-plugin-emby/beta/emby-server-beta.json
iocage fetch -P dhcp=on vnet=on bpf=yes -n emby-server-beta.json --branch 'master'
Edited by makarai
Posted

 

have you tried the following

cd /tmp
wget https://raw.githubusercontent.com/bott0r/iocage-plugin-emby-beta/master/emby-server-beta.json
iocage fetch -P dhcp=on vnet=on bpf=yes -n emby-server-beta.json --branch 'master'

Thank for the reply makarai

 

This has errored [root@@freenas /tmp]#

Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: hostname nor servname provided, or not known.
wget: unable to resolve host address ‘raw.githubusercontent.com’
 
It looks like I have internet connection but ifconfig indicates I have
 
[root@@freenas /tmp]# ifconfig
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=c019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
        ether a0:48:1c:b8:e2:ac
        hwaddr a0:48:1c:b8:e2:ac
        inet 192.168.192.12 netmask 0xffffff00 broadcast 192.168.192.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
 
So even more up the swanny 
If I use you wget link in a browse it opens up a file on github but that is not from the same box

 

Posted (edited)

 

 

have you tried the following

cd /tmp
wget https://raw.githubusercontent.com/bott0r/iocage-plugin-emby-beta/master/emby-server-beta.json
iocage fetch -P dhcp=on vnet=on bpf=yes -n emby-server-beta.json --branch 'master'

Thank for the reply makarai

 

This has errored [root@@freenas /tmp]#

Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: hostname nor servname provided, or not known.
wget: unable to resolve host address ‘raw.githubusercontent.com’
 
It looks like I have internet connection but ifconfig indicates I have
 
[root@@freenas /tmp]# ifconfig
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=c019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
        ether a0:48:1c:b8:e2:ac
        hwaddr a0:48:1c:b8:e2:ac
        inet 192.168.192.12 netmask 0xffffff00 broadcast 192.168.192.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
 
So even more up the swanny 
If I use you wget link in a browse it opens up a file on github but that is not from the same box

 

 

Well its an idiot at the helm I ha made a typo in the Network setup.

Its downloaded installed and still come up with same error.

 

[root@@freenas ~]# ping
usage: ping [-AaDdfnoQqRrv] [-c count] [-G sweepmaxsize] [-g sweepminsize]
            [-h sweepincrsize] [-i wait] [-l preload] [-M mask | time] [-m ttl]
            [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-t timeout]
            [-W waittime] [-z tos] host
       ping [-AaDdfLnoQqRrv] [-c count] [-I iface] [-i wait] [-l preload]
            [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr]
            [-s packetsize] [-T ttl] [-t timeout] [-W waittime]
            [-z tos] mcast-group
[root@@freenas ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=117 time=15.533 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=15.673 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=15.510 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=15.524 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=15.528 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=117 time=15.510 ms
^C
--- 8.8.8.8 ping statistics ---
7 packets transmitted, 6 packets received, 14.3% packet loss
round-trip min/avg/max/stddev = 15.510/15.546/15.673/0.057 ms
[root@@freenas ~]# cd /tmp
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.36.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.36.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 810 [text/plain]
Saving to: ‘emby-server-beta.json’
 
emby-server-beta.js 100%[===================>]     810  --.-KB/s    in 0s
 
2018-11-30 02:46:21 (89.9 MB/s) - ‘emby-server-beta.json’ saved [810/810]
 
[root@@freenas /tmp]# iocage fetch -P dhcp=on vnet=on bpf=yes -n emby-server-beta.json --branch 'master'
Plugin: emby-server-beta72
  Official Plugin: False
  Using RELEASE: 11.2-RELEASE
  Using Branch: master
  These pkgs will be installed:
    - lang/mono
    - multimedia/libass
    - x11-fonts/fontconfig
    - print/freetype2
    - converters/fribidi
    - security/gnutls
    - converters/iconv
    - audio/opus
    - net/samba48
    - databases/sqlite3
    - multimedia/libtheora
    - multimedia/libva
    - audio/libvorbis
    - graphics/webp
    - multimedia/libx264
    - graphics/libraw
    - devel/libzvbi
Secure packagesite detected, installing ca_root_nss package.
 
Testing SRV response to FreeBSD
Testing DNSSEC response to FreeBSD
pkg-static: /var/db/pkg/local.sqlite permissions (0775) too lax
[root@@freenas /tmp]#
 
 
Edited by Townsey
Posted (edited)

@@Townsey

 

Hey I suppose your FreeNAS DNS is not properly configured: Please post the results when you type in the following command.

nslookup google.com
Edited by makarai
Posted
Is what I get

 

[root@@freenas ~]# nslookup google.com

Server:         192.168.192.1

Address:        192.168.192.1#53

 

Non-authoritative answer:

Name:   google.com

Address: 172.217.17.142

Name:   google.com

Address: 2a00:1450:400e:80b::200e

 

[root@@freenas ~]#

Posted (edited)

--

Edited by makarai
Posted

Yup latest version 

 

But there must be something wrong 

 

[root@@freenas ~]# pkg install ca_root_nss
Updating local repository catalogue...
pkg: file:///usr/ports/packages/meta.txz: No such file or directory
repository local has no meta file, using default settings
pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory
Unable to update repository local
Error updating repositories!
[root@@freenas ~]#
Posted

its fine:

 

One person had this issue can you perform the steps outlined in this post?

 

https://forums.freenas.org/index.php?threads/var-db-pkg-permissions-0755-too-lax.71088/

 

"Deleted iocage volume set (after disabling it, rebooting, then renabling it and rebooting) and that seemed to fix it."

 

OK I'm will be doing that ASAP but have been called away for a job, thanks for your help and pointers thus far

 

 

Posted (edited)

Right got back after a rather bigger job than was indicated.

 

Did everything in the thread and then ran a reinstall this downloaded a whole new package and installed it ending up with this screen:

 

Fetching artifact...
 
Running post_install.sh
 
Command output:
[emby-server-beta73] Fetching emby-server-freebsd_3.6.0.73_amd64.txz: .......... done
[emby-server-beta73] Installing emby-server-3.6.0.73_1...
===> Creating groups.
Creating group 'emby' with gid '989'.
===> Creating users
Creating user 'emby' with uid '989'.
[emby-server-beta73] Extracting emby-server-3.6.0.73_1: .......... done
emby_server_enable:  -> YES
Starting emby_server.
 
Admin Portal:
[root@@freenas /tmp]#
 
And access to Emby again
 
Thank you for you advice and help Makarai its nice to know helping hands are around and can be called on in time of need.
Have a good weekend
Edited by Townsey

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...