Jump to content

PhAzE

Community Developer
  • Posts

    1,585
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by PhAzE

  1. Can you tell me where in the OS i can get the unraid version that is installed?
  2. fixed it with the following: <form name="app_install" method="POST" action="/update.htm" target="progressFrame"> <input type="hidden" name="cmd" value="/plugins/<?=$appname;?>/scripts/rc.<?=$appname;?>"/> <input type="hidden" name="arg1" value="install"/> <input <?=$app_disabled;?> type="submit" id="STDSMBUTTON" value="Install"/> </form> apparently, the arguments must come as a separate input value and can't be appended onto the command value. Crappy, because this method may completely break unraid 5 functionality.
  3. interestingly, if I remove the &arg=install part, the command no longer fails... but doesn't run the install part.
  4. From the syslog: run_cmd: invalid cmd: /plugins/Btsync/scripts/rc.Btsync&arg1=install The command looks right to me however.
  5. Is there any include required for update.htm like there is with update.php?
  6. Thanks, that didn't seem to resolve it. Pressing the install button still just flashes the screen and reloads the page but the command is never passed to the server it seems.
  7. Will update.php work on unraid 5 as well? My plugins are universal between the different unraid versions so I don't want to break the backwards compatibility on them. I'm guessing the cmd for update.htm is missing something (in my plugin) or broken in rc6...?
  8. I'm using the update.htm file in my plugins and doing the above doesn't seem to work for me either. Here's my code currently: <form name="app_install" method="POST" action="/update.htm" target="progressFrame"> <input type="hidden" name="cmd" value="/plugins/<?=$appname;?>/scripts/rc.<?=$appname;?>&arg1=install"/> <input type="submit" name="runCmd" id="STDSMBUTTON" value="Install"/> </form> $appname in this case is "Btsync" by adding &arg1= above, it still doesn't actually pass that argument over to the script file. Is there another step I'm missing?
  9. Settings - General - URL Base? Docker is the way to go, plugins are just way too much work these days. Let me know if you need any other help. Sometimes the url doesn't update unless you restart the server. I'm not sure why but it might be something to do with web cache. Also.. is the plugin author/maintainer abondoning plugins? Oh ok, Has to be set in the app. So, lets say an app doesn't auto redirect to the URLbase (like Ubooquity) when you click WEBUI from docker it will just fail to load the page? The WEBUI link doesn't update with the urlbase from what I can tell. As for part two, the biggest issue with the plugins at the moment is having the dependencies loaded into RAM eating up a lot of the system ram. I am looking at updating them potentially to move those to /mnt somewhere, but then I have to edit in a bunch of array status code so that plugins don't try to install dependencies or start when the array is offline, which is sort of like re-inventing the wheel. So, TLDR; not abandoning but looking at how docker works. Sometimes you need to restart the server in order for the new url settings to be applied. I'm not sure why that is. It might have something to do with web caching. PS Plugins are way to much work these days. Docker is the way to go unless a plugin is the only way. Yea, I'm going to learn docker and possibly change over or setup my own repo perhaps. If I do switch over in the future, that will likely be the end of my plugins. I would just support the ones I have currently for a while longer since maintenance is easy once they are made. I don't think it's particularly smart to start making all your own. I think the best you can do is fork other people's and then do pull request if you don't like something or would like to improve something. I have been doing this. I have been removing some of my own containers because other's are more popular and I will change them so that they better suit my needs. That way one container being contributed by multiple people becomes better than one container being supported by one person. I would love for you to contribute to my repos, you are a great developer. Thanks! That's not a bad idea actually, no point in reinventing the wheel from scratch. I just need to get into the code base to see how it all works together (and learn how to fork/pull on git). But I was looking at your dockers to start on. I was looking to add on some extra settings (like urlbase) and update process for the app itself giving users a quick update option from the docker settings page. Depending on if it's possible.
  10. Settings - General - URL Base? Docker is the way to go, plugins are just way too much work these days. Let me know if you need any other help. Sometimes the url doesn't update unless you restart the server. I'm not sure why but it might be something to do with web cache. Also.. is the plugin author/maintainer abondoning plugins? Oh ok, Has to be set in the app. So, lets say an app doesn't auto redirect to the URLbase (like Ubooquity) when you click WEBUI from docker it will just fail to load the page? The WEBUI link doesn't update with the urlbase from what I can tell. As for part two, the biggest issue with the plugins at the moment is having the dependencies loaded into RAM eating up a lot of the system ram. I am looking at updating them potentially to move those to /mnt somewhere, but then I have to edit in a bunch of array status code so that plugins don't try to install dependencies or start when the array is offline, which is sort of like re-inventing the wheel. So, TLDR; not abandoning but looking at how docker works. Sometimes you need to restart the server in order for the new url settings to be applied. I'm not sure why that is. It might have something to do with web caching. PS Plugins are way to much work these days. Docker is the way to go unless a plugin is the only way. Yea, I'm going to learn docker and possibly change over or setup my own repo perhaps. If I do switch over in the future, that will likely be the end of my plugins. I would just support the ones I have currently for a while longer since maintenance is easy once they are made. if i can do docker, anyone can, lol. Like to make them? I want to see just how customizable they are / can be.
  11. To be fair though, I use a template for my plugins that is versatile enough for most apps so it's not too much trouble. It's when I need to change the template drastically that things get dicey.
  12. Settings - General - URL Base? Docker is the way to go, plugins are just way too much work these days. Let me know if you need any other help. Sometimes the url doesn't update unless you restart the server. I'm not sure why but it might be something to do with web cache. Also.. is the plugin author/maintainer abondoning plugins? Oh ok, Has to be set in the app. So, lets say an app doesn't auto redirect to the URLbase (like Ubooquity) when you click WEBUI from docker it will just fail to load the page? The WEBUI link doesn't update with the urlbase from what I can tell. As for part two, the biggest issue with the plugins at the moment is having the dependencies loaded into RAM eating up a lot of the system ram. I am looking at updating them potentially to move those to /mnt somewhere, but then I have to edit in a bunch of array status code so that plugins don't try to install dependencies or start when the array is offline, which is sort of like re-inventing the wheel. So, TLDR; not abandoning but looking at how docker works. Sometimes you need to restart the server in order for the new url settings to be applied. I'm not sure why that is. It might have something to do with web caching. PS Plugins are way to much work these days. Docker is the way to go unless a plugin is the only way. Yea, I'm going to learn docker and possibly change over or setup my own repo perhaps. If I do switch over in the future, that will likely be the end of my plugins. I would just support the ones I have currently for a while longer since maintenance is easy once they are made.
  13. It's strange, when I edit Ubooquity WEBUI line like so: http://[iP]:[PORT:8085]/Ubooquity/admin It doesn't actually update the WEBUI link, which still goes to http://[iP]:[PORT:8085]/admin, or am I doing the internet wrong?
  14. Ah, the secret well hidden advanced view that my eyes did not notice! Thanks for helping this old blind man out!
  15. Settings - General - URL Base? Also.. is the plugin author/maintainer abondoning plugins? Oh ok, Has to be set in the app. So, lets say an app doesn't auto redirect to the URLbase (like Ubooquity) when you click WEBUI from docker it will just fail to load the page? The WEBUI link doesn't update with the urlbase from what I can tell. As for part two, the biggest issue with the plugins at the moment is having the dependencies loaded into RAM eating up a lot of the system ram. I am looking at updating them potentially to move those to /mnt somewhere, but then I have to edit in a bunch of array status code so that plugins don't try to install dependencies or start when the array is offline, which is sort of like re-inventing the wheel. So, TLDR; not abandoning but looking at how docker works.
  16. Hey Hurricane, I'm just getting into Docker to see how it works and all that fun stuff. When I install one of your apps, how can i set the URLBase for them? Lets say i want to access Sonarr by http://tower:9090/Sonarr
  17. I noticed with recent builds of unraid 6 (especially the final) when a plugin echo's text, it is handled differently now than older versions. In unraid 5 - the echo'd lines would show stacked In unraid 6 - the echo'd lines now show one after another in a single line, bu tin the betas they would clear the previous entry before displaying the new echo. Is there a better way to convey messages about what the plugin is doing that doesn't mash them all into a single line across the bottom of the page? Edit: Ideally, the stacked layout of unraid 5 looks best and shows text long enough for users to see what's happening.
  18. Since this is a dev vm I just removed the parity drive completely and it let me start. I see that starting with unraid 6, non array drives now count towards the number of attached devices to the system and the trial limits that to 3. Unfortunately, you can't bit from a USB OS in VMware player or virtualbox, so a virtual drive come if the USB is required to boot from. Counts as a drive though.
  19. I installed the trial though the web gui and it seems to have been recognized. Just checked, ya its there.
  20. Unfortunately, i'm having a similar issue, but not with a card reader. In order to develop plugins I use unraid in a VM, which needs a clone of the usb drive as a virtual drive in order for it to boot (since virtualbox and vmware player can't boot from USB still). This means having 3 hard drives (disk1 disk2 parity) and the 8gb USB clone, I get the same error as OP, and can't start the array even though that USB virtual drive is unused.
  21. That's a good way to some the error. I have mine running anonymously but that gives the error on v5 still. I'll likely update to this. Quick question, I saw plugins can now have an info cjangelog. How do I add that?
  22. Oh, my old plugins had the no check in there but my new plugins don't use that command to download anymore. Kewl
  23. is this referring to this line of code: <!ENTITY pluginURL "https://github.com/PhAzE-Variance/unRAID/raw/master/Plugins/Couchpotato.plg"> changes to: <!ENTITY pluginURL "--no-check-certificate https://github.com/PhAzE-Variance/unRAID/raw/master/Plugins/Couchpotato.plg"> so it will still download from github (which is still an untrusted source)? Is there any issue with adding that to plugins now or will it break downloading on current betas?
  24. OK thanks that really does answer my concerns. I'll get the reds from now on and steer clear of Seagate.
×
×
  • Create New...