ix-plugin-hub / iocage-plugin-index

Community created JSON files for plugins.
153 stars 112 forks source link

Motioneye does not install under TrueNAS-12.0-U4 #240

Open era1112 opened 3 years ago

era1112 commented 3 years ago

Installation of Motioneye from the TrueNAS Plugins webUI menu fails with message: Error: motioneye1 had a failure Exception: RuntimeError Message: pkg error: - py37-pip : Refusing to fetch artifact and run post_install.sh! Partial plugin destroyed

TrueNAS is running TrueNAS-12.0-U4 on STABLE train iocage/jails has 25GB of available space Other plugins (rTorrent-flood) install successfully Issue persists when installing with DHCP or static IP assignment

Briefly attempted a manual install into a fresh iocage jail (12.2-RELEASE). Ran post_install.sh manually inside the jail, script fails with message: motioneye does not exist in /etc/rc.d or the local startup directories (/usr/local/etc/rc.d), or is not executable.

Following up on that, it seems to be failing on line 42 of post_install.sh. "motioneye" does not exist in those directories, but "motion" does.

era1112 commented 3 years ago

Motioneye starts as expected when installing it as per this guide: https://github.com/ccrisan/motioneye/wiki/Manual-Download-And-Installation

And starting the service with the following command from within the jail: meyectl startserver -c /usr/local/etc/motioneye/motioneye.conf

If needed, I could write up all the steps I took to make it work, so it could be scripted for automated install in the plugin.

fulder commented 3 years ago

Related to fixes in: https://github.com/ix-plugin-hub/iocage-plugin-index/pull/188. Should be solved when it gets merged

hardwareadictos commented 2 years ago

Having a similar issue:

imagen

fulder commented 2 years ago

https://github.com/ix-plugin-hub/iocage-plugin-index/pull/275 could probably be a solution for this but I don't think it has been proted back to the 12.2-RELEASE branch yet.