January 7, 20188 yr 5 minutes ago, pwm said: It sounds like you are saying that /sbin/upgradepkg is generally not used when updating plugins. No, not saying that. It depends on the plugin author. For example, all Dynamix plugins make use of upgradepkg with the appropriate options. Just for fun, I counted the current number of plugin authors (not sure if all are still active) but it is 16.
January 7, 20188 yr I notice CA also uses upgradepkg - but with --install-new so upgradepkg will just jump directly to installpkg - or exits if the new package file doesn't exist. <!-- The 'source' file. --> <FILE Name="/boot/config/plugins/&name;/&name;-&version;.txz" Run="upgradepkg --install-new"> <URL>https://raw.github.com/&github;/master/archive/&name;-&version;.txz</URL> <MD5>&md5;</MD5> </FILE> It seems the download manager doesn't continue if the download fails - so doesn't process the "Run" command. So neither installpkg or upgradepkg run. But the pre-install code in /boot/config/plugins/community.applications.plg performs file removal before the download of the new version. It is a bit confusing that the *.plg file is run and performs a cleanup before knowing the result of the download of the *.txz file. The plugin doesn't seem to have a chance to perform any cleanup when it knows if the new install will work or not. It would be better if the plugin performs the download without any Run command. Then based on the download result decides if any cleanup is needed before upgradepkg --install-new is run.
January 7, 20188 yr Just a side note - it seems all plugins I have installed uses upgradepkg --install-new and optionally --reinstall And in reality, that means the upgradepkg logic is not used.
January 7, 20188 yr It should be very rare when a download fails mid way. The plugin file comes from the same source as the other files. Thus when going to the plugins page and getting the update information (unRAId 6.4), it is highly certain that a subsequent and immediate update will succeed. Also normal installation (that is system startup and without a new versions) do not require any downloads since installation files are kept locally on the flash device. Don't think any scheme is 100% fail proof, but if you can improve the plugin content, please share and it will benefit all plugin authors Ps. Options -install-new is used to tell the upgradepkg script to do a normal install of the package when it does not exist yet and perform a package upgrade otherwise -reinstall is used to force an installation even when the new version is the same as the existing version
January 10, 20188 yr Hi new install of Unraid 6.4.0_rc10b - I cannot seem to download the CA , I pasted the url from page 1, and it just sits there... I am on my win10 machine trying to install from the gui .. see the picture , please advise what i am doing wrong. just tried the fix common problems plugin and it does the same thing as the picture below. it's like i am not connected to the net.... Edited January 10, 20188 yr by ajgoyt not enough info
January 10, 20188 yr Author Not quite sure. I just tried it and it worked for me. Try setting static DNS addresses of 8.8.8.8 and 8.8.4.4 in settings - network settings Edited January 10, 20188 yr by Squid
January 12, 20188 yr I'm trying to install the mfi docker but can't find it on the appstore, docker hub search is enable, it's this one: https://hub.docker.com/r/darco/mfi-controller/ Or this one apparently more recent, but can I install a docker fro github? https://github.com/darconeous/docker-mfi-controller
January 12, 20188 yr Author 17 minutes ago, johnnie.black said: I'm trying to install the mfi docker but can't find it on the appstore, docker hub search is enable, it's this one: https://hub.docker.com/r/darco/mfi-controller/ Or this one apparently more recent, but can I install a docker fro github? https://github.com/darconeous/docker-mfi-controller docker files from github have to be manually built. But, CA will pull and convert your first one if you search for darco/mfi-controller
January 12, 20188 yr 8 minutes ago, Squid said: docker files from github have to be manually built. But, CA will pull and convert your first one if you search for darco/mfi-controller hmm, still not getting any hits with "mfi" " darco" or "darco/mfi-controller "
January 12, 20188 yr Author Hopefully a real stupid question, but is docker enabled? Even with docker hub searches on, CA won't search docker hub without docker being enabled. This is a search for darco/mfi-controller
January 12, 20188 yr 7 minutes ago, Squid said: Have you clicked the whale? WHATEVER YOU DO, DON'T CLICK THE WHALE!!!!
January 20, 20188 yr I updated to the 2018.01.20 version this morning and now see no results when using the apps tab no matter which section or category I select. Is it just me?
January 20, 20188 yr Author Nope. Not only you. I got a little too rambunctious and deleted the skin that's also used for 6.3.5 inadvertently (had to revert my server to test). Gimme a couple of minutes
January 20, 20188 yr 16 minutes ago, Squid said: fixed. check for updates Awesome thanks, looks good again!
January 22, 20188 yr How can I kill a user script? I kill the script but it still show script running in web UI.
January 22, 20188 yr I just moved to version 6.4 and seem to be having an issue with CA... CA just hangs when trying to update the application list. I've tried setting a static DNS to googles servers, but no such luck. I am seeing the following error in the log and want to rule out CA as the culprit before tearing my network apart. Thanks! Jan 22 08:35:13 SERVERNAME nginx: 2018/01/22 08:35:13 [error] 9096#9096: *61358 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.151, server: , request: "POST /plugins/community.applications/include/exec.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "SERVERNAME", referrer: "http://SERVERNAME/Apps"
January 22, 20188 yr Author 1 hour ago, Spritzup said: I just moved to version 6.4 and seem to be having an issue with CA... CA just hangs when trying to update the application list. I've tried setting a static DNS to googles servers, but no such luck. I am seeing the following error in the log and want to rule out CA as the culprit before tearing my network apart. Thanks! Jan 22 08:35:13 SERVERNAME nginx: 2018/01/22 08:35:13 [error] 9096#9096: *61358 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.151, server: , request: "POST /plugins/community.applications/include/exec.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "SERVERNAME", referrer: "http://SERVERNAME/Apps" First and foremost, make sure that CA is up to date
January 22, 20188 yr Author 3 hours ago, joshuaavalon said: How can I kill a user script? I kill the script but it still show script running in web UI. Should be posting in the user.scripts support thread. Are you saying that when killing the script in user scripts UI that it still shows that its running?
January 22, 20188 yr 2 minutes ago, Squid said: Should be posting in the user.scripts support thread. Are you saying that when killing the script in user scripts UI that it still shows that its running? No, I mean I kill my script in terminal using kill <PID>. But the GUI still shows it is running unless I click abort script. Is there a way to stop it in command line?
January 22, 20188 yr Author Its because I keep track of the PID and check the file with that to see if the script is still running. You'd have to remove the appropriate file from /tmp/user.scripts/something
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.