GitLab install via iocage cli fail

Status
Not open for further replies.
Joined
Sep 8, 2016
Messages
7
Hello,

I am wondering whether anyone has succeeded in installing GitLab on FreeNAS-11.0-U1 via iocage in the command line?
I will be putting a small FreeNAS server into production soon and this would be a very nice feature...
I have posted the error messages after this.

thanks,
Andrew

GIGABYTE BRIX Pro
Build FreeNAS-11.0-U1 (aa82cc58d)
Platform Intel(R) Core(TM) i5-4570R CPU @ 2.70GHz
Memory 8057MB

=== === ===

root@freenas:/mnt/iocage/releases # iocage fetch --plugins ip4_addr="re0|10.10.30.71/24"
[0] bru-server - BRU Server™ Backup and Recovery Software by TOLIS Group, Inc. (bru-server)
[1] BitTorrent Sync - Resilient, fast and scalable file sync software for enterprises and individuals. (btsync)
[2] CouchPotato - CouchPotato is an automatic NZB and torrent downloader. (couchpotato)
[3] Crashplan - Computer backup and data storage made simple. (crashplan)
[4] Deluge - Bittorrent client using Python, and libtorrent-rasterbar (deluge)
[5] Emby - Home media server built using mono and other open source technologies (emby)
[6] GitLab - Powerful features for modern software development (gitlab)
[7] Jenkins - Jenkins CI (jenkins)
[8] Jenkins (LTS) - Jenkins CI (Long Term Support Version) (jenkins-lts)
[9] MadSonic - Open-source web-based media streamer and jukebox. (madsonic)
[10] NextCloud - Access, share and protect your files, calendars, contacts, communication & more at home and in your enterprise. (nextcloud)
[11] Plex Media Server - The Plex media server system (plexmediaserver)
[12] Plex Media Server (PlexPass) - The Plex media server system (plexmediaserver-plexpass)
[13] Quasselcore - Quassel Core is a daemon/headless IRC client, part of Quassel, that supports 24/7 connectivity. Quassel Client can be attached to it to. (quasselcore)
[14] SickRage - Automatic Video Library Manager for TV Shows (sickrage)
[15] Sonarr - PVR for Usenet and BitTorrent users (sonarr)
[16] SubSonic - Open-source web-based media streamer and jukebox. (subsonic)
[17] Syncthing - Personal cloud sync (syncthing)
[18] Tarsnap - Online encrypted backup service (client) (tarsnap)
[19] Transmission - Fast and lightweight daemon BitTorrent client (transmission)

Which plugin do you want to create? (EXIT) 6
Plugin: GitLab
Using RELEASE: 11.0-RELEASE
Post-install Artifact: https://github.com/freenas/iocage-plugin-gitlab.git
These pkgs will be installed:
- www/gitlab
- databases/postgresql93-server
- databases/postgresql93-contrib
- www/nginx
Testing SRV response to iocage-plugins
Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/iocage/cli/fetch.py", line 114, in cli
files=files).fetch_plugin_index(props)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_fetch.py", line 1182, in fetch_plugin_index
props, 0)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_fetch.py", line 824, in fetch_plugin
repo_dir)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_fetch.py", line 1053, in __fetch_plugin_install_packages__
site=repo_name)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_create.py", line 469, in create_install_packages
raise RuntimeError(f"{srv_connection}\n"
RuntimeError: b''
Command run: drill _http._tcp.http://pkg.cdn.trueos.org/iocage SRV
 

scrappy

Patron
Joined
Mar 16, 2017
Messages
347
I think this has something to do with 11.0-U1. I am also having iocage issues albeit, slightly different than yours ever since I updated to 11.0-U1. After filing a bug report it was closed it due to being a duplicate bug filing, meaning others have also reported problems with iocage. You could probably install or rollback to 11.0-RELEASE and I bet iocage will function properly. Otherwise, wait for the next update to hopefully fix your issue.
 
Joined
Sep 8, 2016
Messages
7
I did the rollback on FreeNAS at home, and it worked up to a point and it grabbed the dangly bits as needed, but then...

no joy

A.

Build FreeNAS-11.0-RELEASE (a2dc21583)
Platform Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz
Memory 8153MB
=== === ===

...

/usr/share/zoneinfo/Indian/Kerguelen

/usr/share/zoneinfo/Pacific/Easter

/usr/share/zoneinfo/Pacific/Tongatapu

/usr/share/zoneinfo/zone.tab

src component not installed, skipped

Installing updates... done.

Testing SRV response to iocage-plugins

Testing DNSSEC response to iocage-plugins

Traceback (most recent call last):

File "/usr/local/bin/iocage", line 10, in <module>

sys.exit(cli())

File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)

File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)

File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))

File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)

File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)

File "/usr/local/lib/python3.6/site-packages/iocage/cli/fetch.py", line 114, in cli

files=files).fetch_plugin_index(props)

File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_fetch.py", line 1182, in fetch_plugin_index

props, 0)

File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_fetch.py", line 824, in fetch_plugin

repo_dir)

File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_fetch.py", line 1053, in __fetch_plugin_install_packages__

site=repo_name)

File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_create.py", line 483, in create_install_packages

raise RuntimeError(f"{dnssec_connection}\n"

RuntimeError: b''

Command run: drill -D http://pkg.cdn.trueos.org/iocage
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I am seeing the same when trying to install a plugin jail on iocage on FreeNAS 11.1-U4

After confirming that I have IP connectivity from the partially installed plugin jail, I ran the failed command manually:

Code:
drill -D http://pkg.cdn.trueos.org/iocage


inside the jail and the output was interesting...

Code:
root@plex:~ # drill -D http://pkg.cdn.trueos.org/iocage

Error: error sending query: authority section incomplete




So then I just ran:

Code:
root@plex:~ # drill

;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 32093

;; flags: qr rd ra ; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0 

;; QUESTION SECTION:

;; . IN NS


;; ANSWER SECTION:

. 165653 IN NS j.root-servers.net.

. 165653 IN NS c.root-servers.net.

. 165653 IN NS k.root-servers.net.

. 165653 IN NS i.root-servers.net.

. 165653 IN NS f.root-servers.net.

. 165653 IN NS a.root-servers.net.

. 165653 IN NS l.root-servers.net.

. 165653 IN NS b.root-servers.net.

. 165653 IN NS m.root-servers.net.

. 165653 IN NS e.root-servers.net.

. 165653 IN NS h.root-servers.net.

. 165653 IN NS g.root-servers.net.

. 165653 IN NS d.root-servers.net.


;; AUTHORITY SECTION:


;; ADDITIONAL SECTION:


;; Query time: 41 msec

;; SERVER: 192.168.x.x

;; WHEN: Fri Apr  6 12:49:05 2018

;; MSG SIZE  rcvd: 228




Which seems to work fine...

and then:

Code:
root@plex:~ # drill pkg.cdn.trueos.org

;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 13884

;; flags: qr rd ra ; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 

;; QUESTION SECTION:

;; pkg.cdn.trueos.org. IN A


;; ANSWER SECTION:

pkg.cdn.trueos.org. 35270 IN CNAME pkg.pcbsd.scaleengine.net.

pkg.pcbsd.scaleengine.net. 300 IN CNAME pcbsd-pkg.secdn.net.

pcbsd-pkg.secdn.net. 60 IN A 77.95.228.10


;; AUTHORITY SECTION:


;; ADDITIONAL SECTION:


;; Query time: 218 msec

;; SERVER: 192.168.x.x

;; WHEN: Fri Apr  6 12:49:42 2018

;; MSG SIZE  rcvd: 121




Which works fine too... hmmm, something strange here, so I wondered if I could install the pkg for plex myself... better run pkg update first:

Code:
root@plex:~ # pkg update

The package management tool is not yet installed on your system.

Do you want to fetch and install it now? [y/N]: y

Bootstrapping pkg from http://pkg.cdn.trueos.org/iocage, please wait...

Signature for pkg not available.

pkg: Error fetching http://pkg.cdn.trueos.org/iocage/Latest/pkg.txz.sig: Not Found

A pre-built version of pkg could not be found for your system.

Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.




I then went to see and indeed the file http://pkg.cdn.trueos.org/iocage/Latest/pkg.txz.sig is missing... is this something that IX has to look at fixing on their side?

Are the 2 problems somehow related?

Is the authority section mandatory in a drill query?... seems not to be as far as I can tell from the above.
 
Status
Not open for further replies.
Top