Jump to content

primeval_god

Community Developer
  • Posts

    869
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by primeval_god

  1. At this time my plans for web-gui interaction are pretty basic. I am envisioning something akin to the user scripts plugin for editing and executing compose files.
  2. To get an app included in community applications you would need to host a github repo with the template and submit that to the CA maintainer for inclusion. You would want to browse this forum post to make sure the template is correct for inclusion
  3. Compose Manager Beta Release! This plugin installs docker compose and compose switch. Use "docker compose" or "docker-compose" from the command line. See https://docs.docker.com/compose/cli-command/ for additional details. Install via Community Applications This plugin now adds a very basic control tab for compose on the docker page. The controls allow the creation of compose yaml files, as well as allowing you to issue compose up and compose down commands from the web ui. The web ui components are based heavily on the user.scripts plugin so a huge shoutout and thanks goes to @Squid. Future Work: Add scheduling for compose commands? Allow more options for configuring compose commands.
  4. This looks super easy to add a template for. Just go to the docker page and add a new container. The image field will be whumphrey/smtp-translator, you will need to add a port mapping of 25 -> 25, and an environmental variable PUSHOVER_TOKEN. The --rm and -it should not be needed. You might also find an image for it online and put a link in the icon field. Give the container a name, hit run and thats it.
  5. First you will want to make sure your source is saved somewhere on the array. You will want to use the optional Virtual environment setup steps as well. Rather than cron you will want to use a user script to call the program. Create a new user script and add something like this as the content /mnt/user/<Some-User-Share>/<dyn-gandi-path>/.env/bin/dyn_gandi --log /var/log/dyn-gandi.log Use schedule functionality of the user script plugin to run the script on the desired schedule. I typically recommend running python scripts within a docker container rather than directly on unRAID. The process for using a user script is the same but python and your source are built into a docker container and the user script is used to launch the container on a schedule.
  6. When it comes to unRAID plugin development so far as i can tell there really isnt much official anything.
  7. A program like WinSCP allows you to connect via ssh and edit files via a local editor. A VSCode docker container with a mapping to /usr/local/emhttp would work as well.
  8. @jbear It doesnt look like anything needs to be changed to me. When used alongside an ENTRYPOINT statement the CMD statement serves to define default arguments for the entrypoint. To override them you need only add your preferred arguments on the end of the docker run command (when running via command line). For unraid templates those arguments are added via either the "Extra Parameters" or "Additional Arguments" field (I forget exactly which one)". Just try typing them into one of those fields on the docker page and use the save button to view the generated docker run command and make sure they are tacked on the end.
  9. Unfortunately based on my own personal search i dont believe that there is any single source of the information you seek. What little there is is scattered around old forum posts with little mention of how out of date it may be. Your best bet is to pick a popular plugin made by one of the big names on the forums, like squid, dlandon, or bonienl, head over to the github repo and try to understand how they work. From there you can graduate to finding the plugins webui files on your server and modifying the live files to try and change things around a bit. If you break something a reboot is all that is needed to unpack the plugin fresh from its archive files and preferably you would choose a not overly risky plugin to mess with. Its a round about way of getting what you need, but so far as i have found there really isnt another option.
  10. Sorry @PeteAsking I do not know the answer to that other than to say that zram support is not part of this plugin.
  11. Powertop is the tool of choice for evaluating power consumption.
  12. The idea with the DYNAMIX FILE INTEGRITY PLUGIN is that you would run a check on a schedule often enough to detect issues before good copies are rotated out of your backup.
  13. Now edit the docker container template and change the image name to mcmyadmin2-java16
  14. Look into using docker commit to create a new image from your modified container.
  15. If possible make sure that the USB stick is in a USB2.0 port. Some people have had issues getting certain motherboards to boot correctly from disks connected to USB3 ports. No idea which boards but its worth a try.
  16. I would suggest taking a closer look at you system performance with something like Netdata, the unRAID dashboard is not particularly detailed about system performance. I would suspect you will find very high iowait and that your pegged core is mostly busy waiting for IO. Why that would bog down your entire system and what to do about it I unfortunately dont known.
  17. It kind of depends what you want to do in python. If you are looking to use python to script tasks to run on your unRAID server and call them from the user scripts plugin i would suggest the official python docker images (but no GUI). If you are looking to do python script development I would look into vscode or jupyter-notebook.
  18. @artafinde Also since you last checked this plugin has been forked and the fork supports swapfiles on BTRFS.
  19. That is how I use it. I am honestly not certain of the advantages of deleting it every on stop. This plugin is a fork of an existing swapfile plugin and that setting was carried over. Unfortunately that likely means that something went wrong in attempting to start swap, check your logs for messages logged by the swapfile plugin.
  20. Yeah thats part of what i need to figure out how to express in the plugin interface. It looks like a simple subfolder, but when we are talking about BTRFS it has to be a subvolume which is created differently than a normal subfolder. That is why it is important to let the plugin create the subfolder when the underlying filesystem is BTRFS. That said creating the subvolume manually is possible just a pain.
  21. No i think you have it correct, if using a BTRFS file system it MUST be a single device (rather than a BTRFS RAID pool). In this case you are hitting one of the limitations of the UI/Help that i havent figured out how to address (mostly inform the user of) yet. For swapfile to be used on BTRFS they must be placed in a non-COW subvolume of a BTRFS file system. I assume you are trying to do something like this /mnt/working/swapfile where swapfile is in the file name field and /mnt/working is in the path field. Instead you should have something like this /mnt/working/swapfile_dir/swapfile where swapfile_dir is a BTRFS subvolume (swapfile_dir can be whatever folder name you want). To achieve this put /mnt/working/swapfile_dir (note no trailing /) in the path field and the plugin will create the subvolume for you if no swapfile_dir folder exists. I am still trying to figure out the best way to guide the user through these steps in the plugin interface but i havent had much time to look at it.
  22. @JibbsIsMe @Adriano Frare I have made an update to the plugin that i believe will address your issues. It is live now, try it out when you get a chance.
  23. The plugin logs to the main system log.
×
×
  • Create New...