Code Monkey home page Code Monkey logo

iocage-ix-plugins's Introduction

Join Discord Join Forums File Issue

TrueNAS CORE/Enterprise/SCALE main source repo

IMPORTANT NOTE:

This is the master branch of freenas, which is used for the creation and testing of TrueNAS CORE / Enterprise and TrueNAS SCALE Nightly builds. Submit Pull Requests here if you want to get changes into the next major release of TrueNAS. To build this source repo, checkout https://github.com/freenas/build for CORE/Enterprise and https://github.com/truenas/truenas-build for SCALE

Pull Request Instructions / Jenkins Commands

When submitting a pull-request, Jenkins will attempt to verify the changes to ensure it does not break our builds and/or passes QA tests.

Once whitelisted, the following commands may be used to interact with that service:

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

If the build fails for other various reasons you can rebuild.

"retest this please" to start a new build
"retest this please CLEAN" to start a new build, non-incremental

iocage-ix-plugins's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iocage-ix-plugins's Issues

unable to load available plugins.

Loads for a while, then error message saying...

Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/myPassport/iocage/.plugin_index stderr: 'Cloning into '/mnt/myPassport/iocage/.plugin_index'... fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com '

more info shows...

Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 1269, in _clone_repo
repo = git.Repo(destination)
File "/usr/local/lib/python3.6/site-packages/git/repo/base.py", line 124, in init
raise NoSuchPathError(epath)
git.exc.NoSuchPathError: /mnt/myPassport/iocage/.plugin_index

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 636, in __clone_pull_plugin_index
self._clone_repo(self.branch, git_server, git_working_dir, callback=self.callback)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 1307, in _clone_repo
k: v for k, v in kwargs.items() if v
File "/usr/local/lib/python3.6/site-packages/git/repo/base.py", line 982, in clone_from
return cls._clone(git, url, to_path, GitCmdObjectDB, progress, **kwargs)
File "/usr/local/lib/python3.6/site-packages/git/repo/base.py", line 933, in _clone
finalize_process(proc, stderr=stderr)
File "/usr/local/lib/python3.6/site-packages/git/util.py", line 336, in finalize_process
proc.wait(**kwargs)
File "/usr/local/lib/python3.6/site-packages/git/cmd.py", line 418, in wait
raise GitCommandError(self.args, status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/myPassport/iocage/.plugin_index
stderr: 'Cloning into '/mnt/myPassport/iocage/.plugin_index'...
fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com
'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 133, in main_worker
res = loop.run_until_complete(coro)
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 93, in _run
return await self._call(name, serviceobj, methodobj, params=args, job=job)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 85, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 85, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 544, in list_resource
header=False)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 914, in fetch
icon=True, official=official)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 654, in fetch_plugin_index
self.__clone_pull_plugin_index()
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 643, in __clone_pull_plugin_index
_callback=self.callback)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 90, in logit
_callback(content, exception)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 64, in callback
raise callback_exception(message)
RuntimeError: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/myPassport/iocage/.plugin_index
stderr: 'Cloning into '/mnt/myPassport/iocage/.plugin_index'...
fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com
'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 165, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1107, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1052, in _call
return await self._call_worker(name, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1072, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 995, in run_in_proc
return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 971, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
RuntimeError: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/myPassport/iocage/.plugin_index
stderr: 'Cloning into '/mnt/myPassport/iocage/.plugin_index'...
fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com
'

Nextcloud 15 recommend imagick php module. Not installed (and can't be installed?)

Hello,

Since version 15.x, Nextcloud fresh install recommend imagick php module, but it does not seems to exist in iocage pkg repository.
I think it should be included in nextcloud-php71-15.0.0.txz package. (or repository should have php71-imagick package, so it can be added)

image

I don't know how to change this packages, or if there is a github for this... let me know

Update

Please update emby plugin to latest release 4.5.2

MineOS plugin does not install

MineOS plugin does not install correctly. I've fiddled with several combinations of flags for the SSH portion to no avail. Seems like a lot of the packages are not available.

When I try to install it through GUI the plugin fails to install with error code:
Error: mineOS had a failure Exception: RuntimeError Message: pkg error: - www/node8 :,www/npm-node8 :,java/openjdk8-jre :,ftp/wget :,shells/bash : Refusing to fetch artifact and run post_install.sh! Partial plugin destroyed

When I try to install it via SSH:

`root@freenas[~]# iocage fetch --plugins dhcp=1 vnet=1 nat=1 allow_raw_sockets=1
...

Type the number of the desired plugin
Press [Enter] or type EXIT to quit: 13
Plugin: mineos
Official Plugin: False
Using RELEASE: 11.3-RELEASE
Using Branch: 11.3-RELEASE
Post-install Artifact: https://github.com/jsegaert/iocage-plugin-mineos.git
These pkgs will be installed:

  • sysutils/rdiff-backup
    • sysutils/screen
      • net/rsync
      • devel/gmake
      • devel/git-lite
      • lang/python2
      • www/node8
      • www/npm-node8
      • java/openjdk8-jre
      • ftp/wget
      • shells/bash
        bpf should be disabled when nat is being enabled.
        Traceback (most recent call last):
        File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_create.py", line 495, in _create_jail
        value, config = iocjson.json_check_prop(key, value, config)
        File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_json.py", line 2201, in json_check_prop
        'message': f'{other_key} should be disabled '
        File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_common.py", line 103, in logit
        callback(content, exception)
        File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_common.py", line 90, in callback
        raise SystemExit(1)
        SystemExit: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 296, in fetch_plugin
jaildir, _conf, repo_dir = self.fetch_plugin_create(props)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 540, in fetch_plugin_create
callback=self.callback
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_create.py", line 100, in create_jail
return self._create_jail(jail_uuid, location)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_create.py", line 505, in _create_jail
exit(1)
File "/usr/local/lib/python3.7/_sitebuiltins.py", line 26, in call
raise SystemExit(code)
SystemExit: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in
sys.exit(cli())
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/iocage_cli/fetch.py", line 181, in cli
ioc.IOCage().fetch(**kwargs)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/iocage.py", line 1014, in fetch
props, accept_license=accept, official=official)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 970, in fetch_plugin_index
self.fetch_plugin(props, 0, accept_license)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 307, in fetch_plugin
iocage_lib.ioc_destroy.IOCDestroy().destroy_jail(location)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_destroy.py", line 272, in destroy_jail
iocage_lib.ioc_stop.IOCStop(uuid, path, silent=True)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_stop.py", line 62, in init
raise e
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_stop.py", line 55, in init
path, suppress_log=True).json_get_value('all')
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_json.py", line 1686, in json_get_value
return self.get_full_config()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_json.py", line 1335, in get_full_config
conf, write = self.json_load()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_json.py", line 1467, in json_load
f'{jail_type.rstrip("s").capitalize()}:'
iocage_lib.ioc_exceptions.JailMissingConfiguration: Jail: mineos_74e5 has a missing configuration, please check that the dataset is mounted.`

Qbittorrent monitored folder path not saving

within the settings you can apply a monitored forlder location, this doesn't seem to be saving.

Looking in the jail .config/qBittorrent/qBittorrent.conf
there is a line i think is to do with it
Downloads\ScanDirsV2=@variant (\0\0\0\x1c\0\0\0\0)

not sure what @variant (\0\0\0\x1c\0\0\0\0) is

Dnsmasq logo need alpha channel?

Just noticed Dnsmasq in the list of Community plugins for FreeNAS. Cool. 😄

The logo though seems a bit off for dark themed UI's, as it has a hard coded white background. Guessing it's just a missing alpha channel, though I haven't yet looked properly.

That being said, would using an SVG be acceptable instead of a PNG?

I think the original icon created for Dnsmasq (SVG format) is still kicking around in my archives somewhere. Can try digging that up if it'd be useful.

CC @timsavage for awareness. 😄

Nextcloud 17 - Upgrade to PHP7.2

Hi

Some of the new plugins such as 2FA require PHP7.2 to work. Currently plugin install PHP7.1, not really huge deal but breaks 2FA TOTP to be specific.

Would this require upstream to update nextcloud-php71 to nextcloudphp72 or just changes to Artifact file to install PHP7.2 instead of 7.1?

The below script installs 7.2 by default which works greats but personally still using plugin version due to fact currently I cant find a fix for having caddy just working as HTTP.

https://www.ixsystems.com/community/threads/scripted-installation-of-nextcloud-17-in-iocage-jail.62485

Thanks

gitlab plugin FreeNas -11.3-U2.1

Hi,

I can no longer see the GitLab server and the runner in the list of the available plugins. Will they be coming back and by when?

tvm

Zoneminder Plugin Issues

I have found several issues with the FreeNAS Zoneminder plugin. I created a topic about this on the zoneminder forum, but I am posting this here as well.
https://forums.zoneminder.com/viewtopic.php?f=38&t=28161

The first issue was related to the time showing incorrectly in the logs files. This was remedied by changing the timezone in "/iocage/jails/zoneminder/root/usr/local/etc/php.ini". I would think that this should be changed in the plugin itself so that the time pulls from FreeNAS or MySQL.

The second issue I am still working on. This issue is with the filters not working in the 1.32.3 plugin for FreeNAS 11.2 U2.1. Please see the image below for the error I am getting from my logs. I have not found a fix for this yet, but need to find one soon. Any help would be appreciated!
Capture

use "cron" to execute nextcloud jobs instead of ajax

It would be advisable to use the "cron" function of nextcloud to execute nextcloud's cron.php every 5 minutes.
When you primarily use nextcloud via the webdav client then the current AJAX setting will lead to trouble down the road.

And thanks for providing an up to date one click install of nextcloud! Good stuff!

qbittorrent Exit-qbittorrent

idk why I did it but before I was about to reboot TrueNAS I hit File Exit qbittorrent and now all of the torrents are gone. Also the download path is now //Downloads where before was /root/root/Downloads and now it changed to /root/Downloads.

I noticed this download default directory changed the few times I reinstalled the jail plugin but this is the first time I see the directory changed without reinstall, I guess that is why the torrent files are gone, will change the default dir and see what happens.

Well torrent files are gone but after changing the directory it does resume where it left of after adding the torrent files again.

Settings are also reset to default

Missing php74-tokenizer dependency

Discovered that occ check doesn't work without the above package:

root@nextcloud_2:~ # occ app:check accessibility
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
Nextcloud is in maintenance mode - no apps have been loaded

An unhandled exception has been thrown:
Error: Undefined constant 'T_DOUBLE_COLON' in /usr/local/www/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/Lexer.php:385
Stack trace:
#0 /usr/local/www/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/Lexer.php(38): PhpParser\Lexer->createTokenMap()
#1 /usr/local/www/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php(39): PhpParser\Lexer->__construct(Array)
#2 /usr/local/www/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/ParserFactory.php(23): PhpParser\Lexer\Emulative->__construct()
#3 /usr/local/www/nextcloud/lib/private/App/CodeChecker/CodeChecker.php(60): PhpParser\ParserFactory->create(3)
#4 /usr/local/www/nextcloud/core/Command/App/CheckCode.php(95): OC\App\CodeChecker\CodeChecker->__construct(Object(OC\App\CodeChecker\StrongComparisonCheck), true)
#5 /usr/local/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\App\CheckCode->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(1012): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\App\CheckCode), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /usr/local/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /usr/local/www/nextcloud/console.php(100): OC\Console\Application->run()
#11 /usr/local/www/nextcloud/occ(11): require_once('/usr/local/www/...')
#12 {main}root@nextcloud_2:~ #

NextCloud - MYSQL 8 installation error

Hello,
When you try to perform a NextCloud installation it gives an error in the database and user creation syntax.

TrueNas Version: 12.0-U3
Nexcloud Plugin Version: 21.0.1
Mysql Version: 8.0.23 for FreeBSD12.2 on amd64

Example of error:

nginx_enable: -> YES

mysql_enable: -> YES

php_fpm_enable: -> YES

Performing sanity check on nginx configuration:

Starting nginx.

Performing sanity check on php-fpm configuration:

Starting php_fpm.

Starting mysql.

Starting mysql.

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '('TcXe4HehSuHzqUHd') WHERE User='root'' at line 1

Using NAT Address: 192.168.0.130

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '('TcXe4HehSuHzqUHd') WHERE User='root'' at line 1

Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'dbadmin'@'localhost' (using password: YES)

Trace: #0 /usr/local/www/nextcloud/lib/private/DB/ConnectionAdapter.php(69): OC\DB\Exceptions\DbalException::wrap()

#1 /usr/local/www/nextcloud/lib/private/DB/MySqlTools.php(60): OC\DB\ConnectionAdapter->executeQuery()

#2 /usr/local/www/nextcloud/lib/private/DB/MySqlTools.php(40): OC\DB\MySqlTools->isMariaDBWithLargePrefix()

#3 /usr/local/www/nextcloud/lib/private/Setup/MySQL.php(50): OC\DB\MySqlTools->supports4ByteCharset()

#4 /usr/local/www/nextcloud/lib/private/Setup.php(360): OC\Setup\MySQL->setupDatabase()

#5 /usr/local/www/nextcloud/core/Command/Maintenance/Install.php(108): OC\Setup->install()

#6 /usr/local/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Maintenance\Install->execute()

#7 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()

#8 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()

#9 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()

#10 /usr/local/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run()

#11 /usr/local/www/nextcloud/console.php(100): OC\Console\Application->run()

#12 /usr/local/www/nextcloud/occ(11): require_once('/usr/local/www/...')

#13 {main}

Previous: Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'dbadmin'@'localhost' (using password: YES)

Trace: #0 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1486): OC\DB\Connection->connect()

#1 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1014): Doctrine\DBAL\Connection->getWrappedConnection()

#2 /usr/local/www/nextcloud/lib/private/DB/Connection.php(226): Doctrine\DBAL\Connection->executeQuery()

#3 /usr/local/www/nextcloud/lib/private/DB/ConnectionAdapter.php(66): OC\DB\Connection->executeQuery()

#4 /usr/local/www/nextcloud/lib/private/DB/MySqlTools.php(60): OC\DB\ConnectionAdapter->executeQuery()

#5 /usr/local/www/nextcloud/lib/private/DB/MySqlTools.php(40): OC\DB\MySqlTools->isMariaDBWithLargePrefix()

#6 /usr/local/www/nextcloud/lib/private/Setup/MySQL.php(50): OC\DB\MySqlTools->supports4ByteCharset()

#7 /usr/local/www/nextcloud/lib/private/Setup.php(360): OC\Setup\MySQL->setupDatabase()

#8 /usr/local/www/nextcloud/core/Command/Maintenance/Install.php(108): OC\Setup->install()

#9 /usr/local/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Maintenance\Install->execute()

#10 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()

#11 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()

#12 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()

#13 /usr/local/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run()

#14 /usr/local/www/nextcloud/console.php(100): OC\Console\Application->run()

#15 /usr/local/www/nextcloud/occ(11): require_once('/usr/local/www/...')

#16 {main}

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '('TcXe4HehSuHzqUHd') WHERE User='root'' at line 1

Nextcloud is not installed - only a limited number of commands are available

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '('TcXe4HehSuHzqUHd') WHERE User='root'' at line 1

Nextcloud is not installed - only a limited number of commands are available

Nextcloud is not installed - only a limited number of commands are available

There are no commands defined in the "config:system" namespace.

Nextcloud is not installed - only a limited number of commands are available

There are no commands defined in the "config:system" namespace.

Nextcloud is not installed - only a limited number of commands are available

Nextcloud is not installed - only a limited number of commands are available

There are no commands defined in the "db" namespace.

Performing sanity check on php-fpm configuration:

There are no commands defined in the "db" namespace.

Stopping php_fpm.

There are no commands defined in the "db" namespace.

There are no commands defined in the "db" namespace.

Waiting for PIDS: 6654.

There are no commands defined in the "db" namespace.

Performing sanity check on php-fpm configuration:

There are no commands defined in the "db" namespace.

Starting php_fpm.

There are no commands defined in the "db" namespace.

Performing sanity check on nginx configuration:

There are no commands defined in the "db" namespace.

Stopping nginx.

There are no commands defined in the "db" namespace.

There are no commands defined in the "db" namespace.

There are no commands defined in the "db" namespace.

Waiting for PIDS: 6643, 6643.

There are no commands defined in the "db" namespace.

Performing sanity check on nginx configuration:

There are no commands defined in the "db" namespace.

Starting nginx.

There are no commands defined in the "db" namespace.

Plex name

Iocage doesn't seem to like that the plex name is plex while the file is plexmediaserver.json not plex.json. Renaming plugin in config file(iocage set plugin=plexmediaserver plex) seemed to fix the issue.

Not sure if the upgrade command is the only corner case here or why were not seeing this more.

freenas-primary% sudo iocage upgrade -r 11.3-RELEASE plex
Snapshotting plex...
Updating plugin INDEX...
Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in
sys.exit(cli())
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/iocage_cli/upgrade.py", line 40, in cli
ioc.IOCage(jail=jail, skip_jails=skip_jails).upgrade(release)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/iocage.py", line 2065, in upgrade
).upgrade(jid)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1251, in upgrade
self.iocroot, 'jails', self.jail, f'{plugin_name}.json'
File "/usr/local/lib/python3.7/shutil.py", line 248, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/local/lib/python3.7/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/storage/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git/plex.json'
freenas-primary% cd /mnt/storage/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git/

Zoneminder API CakePHP Error

zm/api gives the following error.

`Missing Controller
Error: ZmController could not be found.
Error: Create the class ZmController below in file: app/Controller/ZmController.php

Request: How-To Guide

It would be wonderful if we could get a tutorial/guide on how to create our own jail plugins.

Plex Media Server is stuck a major version behind at 1.14.1.5488 (info)

Hi. The Plex Media Server plugin cannot be updated beyond 1.14.1.5488. The latest on freshports is 1.15.1.710. People are trying to manually update due to the lack of official updates, and they're having issues. Plex employees are involved and I just wanted to drop some info here to get it on your radar.

I don't know if it's related to the server version but my users are experiencing a lot of buffering problems despite low resource/bandwidth usage. I currently cannot update to test, but if the server version is to blame, then this should be prioritized.

Please follow this thread for more info:

https://forums.plex.tv/t/i-updated-to-plexmediaserver-1-15-0-659-9311f93fd-and-now-i-cant-access-server-setting/377180

There's some chatter about API changes here:

https://forums.plex.tv/t/what-is-up-with-the-https-plex-tv-api-downloads-url/381916

I noticed from that thread that https://plex.tv/api/downloads/1.json?channel=plexpass shows the latest version as 1.14.1.5488, which is what we're stuck at. I don't know if there's any connection here, or if FreeNAS even uses the plex download api for version info in any capacity. API v5 now requires X-Plex-Token or it will return an empty json object

Bad: https://plex.tv/api/downloads/5.json?channel=plexpass

Good: https://plex.tv/api/downloads/5.json?channel=plexpass&X-Plex-Token=xxxxxxxxxxxxx

Plex Update

On my plex server I am getting this message popup "A Plex Media Server update is available for the server Plex Server! 1.19.2.2737, Download now, Skip this version"

Is it possible to update the plex plugin to use the latest software?

Upgrade path for existing plugin?

I am running FreeNAS-11.0-U2 and have successfully created some iocage plugin-type jails. Is there a cli for upgrading/updating an existing jail? fetch seems to be the only plugin-aware command, and it seems to be geared towards creation only.

Emby server

Please update the Emby plugin to latest release

sync/btsync

The plugin is missing from the install page and I need it for syncing files. I got another freenas server with it running on it on the same version just fine.

Gitlab Plugin : Not showing up...

Gitlab plugin is not showing up il the list of avaliable plugins, but every else plugins is. I don't understand why.
I'm using FreeNAS-11.2-U5, is that normal ?

Capture

bacula is gone

According to commit d6e24e7 bacula was removed because it is broken. What does that mean for already installed instances (what I have!)? Do I have to migrate? Will it come back? Are there other ways to install bacula within freenas?

Plex Server Update

I keep receiving a message to update but the official Plex server plugin is still showing as the old version.

I’ve tried a few guides to manual update but non work for me.

Branch 12.0-RELEASE does not exist at https://github.com/freenas/iocage-ix-plugins.git!

Problem: getting traceback, when trying to list available plugins for 12.0-RELEASE
ideally not return traceback, but some normal error message or something. (like "no plugins available for release 12.0-RELEASE)

root@testbsd:~ # iocage list -r
+---------------+
| Bases fetched |
+===============+
| 12.0-RELEASE |
+---------------+

root@testbsd:~ # iocage list --plugins --remote

Branch 12.0-RELEASE does not exist at https://github.com/freenas/iocage-ix-plugins.git!
Using "master" branch for plugin, this may not work with your RELEASE
Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in
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/list.py", line 99, in cli
ioc_common.logit({"level": "INFO", "message": _list})
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 99, in logit
_callback(content, exception)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 56, in callback
log.info(message)
File "/usr/local/lib/python3.6/logging/init.py", line 1308, in info
self._log(INFO, msg, args, **kwargs)
File "/usr/local/lib/python3.6/logging/init.py", line 1444, in _log
self.handle(record)
File "/usr/local/lib/python3.6/logging/init.py", line 1454, in handle
self.callHandlers(record)
File "/usr/local/lib/python3.6/logging/init.py", line 1516, in callHandlers
hdlr.handle(record)
File "/usr/local/lib/python3.6/logging/init.py", line 865, in handle
self.emit(record)
File "/usr/local/lib/python3.6/site-packages/iocage_cli/init.py", line 76, in emit
print(log, file=sys.stdout)
UnicodeEncodeError: 'ascii' codec can't encode character '\u2122' in position 1815: ordinal not in range(128)
root@testbsd:~ #

General Repo Questions

Hi, feel free to close this non-issue, just wanted to start a disucssion and wasn't sure the best place/person to talk to. I helped write maintain many of the plugins for FreeNAS9 (when they were the difficult to build PBIs). I just read up on the new procedure here https://www.ixsystems.com/community/resources/create-an-unofficial-iocage-plugin.99/, created a test FreeNAS 11.2 system, and loving the simplicity of everything so far.

I was planning on starting to contribute changes/ new plugins sometime in the future (if I ever find the time with my 9-month old son). But had a few questions...

  1. Why do some of the plugins in this repo not show in the "Available" list in FreeNAS? For example sabnzbd.json is in this repo. I did notice the artifact link did not work.
  2. Is there a good way to include custom ports? For example I want to develop a medusa or sickchill plugin, can write a port for it, but don't necessarily know when it will be accepted in the FreeBSD repo.
  3. Is there a good way to set build options for dependencies? For example emby/subsonic should have LAME enabled in ffmpeg, but my understanding is iocage will just pull the vanilla package from the prescribed repo.

Thank you!

node.js missing

I get this in the logs:

Request failed: Missing Node.js runtime. Node is required and must be in the PATH (check with `node -v`). Your Node binary may be called `nodejs` rather than `node`, in which case you may need to run `apt-get install nodejs-legacy` on some Debian-based systems. (Please read the cfscrape README's Dependencies section: https://github.com/Anorov/cloudflare-scrape#dependencies. ()

Installing node.js fixes it: pkg install node

[gitlab] gitlab:backup:restore rake task requires GNU tar

rake gitlab:backup:restore will fail when restoring a backup, because /usr/local/www/gitlab-ce/lib/backup/files.rb requires GNU tar.

Verified by doing the following:

# cd /usr/local/etc/pkg/repos
# mv FreeBSD.conf FreeBSD.conf.bak
# pkg install gtar
# mv FreeBSD.conf.bak FreeBSD.conf
# cd /usr/local/www/gitlab-ce
# su git -c 'bundle exec rake gitlab:backup:restore RAILS_ENV=production force=yes'

GitLab 404 Error

Version: FreeNAS-11.3-U4.1
Release: 11.3-RELEASE-p14

Clean install of FreeNas, fully updated.

404 Error when browsing to GitLab. Looks like the pkg failed to download and install because the gitlab-ce folder is missing.

Any ideas?

The plugin cannot be Install normally through the HTTP Proxy.

I checked many times and my HTTP proxy is working properly...

I don't think all data goes through the HTTP proxy.

So when I install the plug-in, it cannot be installed successfully.

often get stuck somewhere. 50% .... 75% .......Fail.......

When will support for SOCKS5 ?

Missing license

This project doesn't appear to have a license attached to it, which unfortunately means it's not freely available for use by default. I don't know if you can or event want to impose a license on 3rd party contributions at this time, since each contributor would need to sign off a re-license, but it would be nice if the template files had a license.

Plugin Request: Jackett (API Support for your favorite torrent trackers)

"Jackett works as a proxy server: it translates queries from apps (Sonarr, Radarr, SickRage, CouchPotato, Mylar, Lidarr, DuckieTV, qBittorrent, Nefarious etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps."

They don't have specific instructions on installing on FreeNAS/FreeBSD but they do have the start script. I have had this running in a FreeNAS Jail before all the warden to iocage stuff happened and I had no problems with it.

https://github.com/Jackett/Jackett

after install nextcloud on trunas got this error

Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.