Arndroid

Members
  • Posts

    156
  • Joined

  • Last visited

Everything posted by Arndroid

  1. Does the cronjob work for anyone? It doesn't seem to run in my docker. The /var/spool/cron/crontabs/root contains: I have mapped /etc/periodic/15min as a volume from container to host /appdata/letsencrypt/crontabs/periodic/15min/bashscript.sh In the bashscript I have this: It should create the test.txt file, but it just doesn't happen, not in 15 not in 30 minutes. Is this a borked setup on my end somehow? Please let me know if I can provide some more info or attempt more things to fix this. Thanks in advance for any help.
  2. @Waseh I know you have been absent from the forums since June, but I was hoping if you could find the time to update the Rclone-beta to the latest version. At lot of improvements have been made since, it would breath new life into this awesome piece of tooling for unraid users. :)
  3. Where are the programs installed to? I can't seem to find the full path, a quick Internet search doesn't help out. I would ultimately like to use docker-compose which was added to the pack some time ago. Edit: Ohh, I'll go an see if I got to install them right now. Sorry about that. Edit 2: They weren't installed/turned on, thanks!
  4. I'm trying to execute commands from SSH, having installed NerdPack, but am unable to execute things like vim, python etc. I also tried running commands via UserScripts, but of course, that way I get 'vim command not found' as well. Is there something I'm missing here? Thanks!
  5. So something like AdminCP for Nginx on Docker/Linux? Freakin' awesome dude! Thanks for making this available in a Docker for Unraid! Hopefully I'll get to try it sometime.
  6. I see that sendmail is installed in the docker container. Is there a particular way to set it up in a way so that after every reboot/update the settings will stick? (To work for PHP sites and scripts) And I can't actually see the "/etc/mail/sendmail.conf" config file though for example? Otherwise, I would just create a Path variable and map it under "appdata/letsencrypt/sendmail.conf" for example and make it permanent that way. Edit: In the meanwhile, I utilized ssmtp and mailutils and filled in the blanks so to speak.
  7. Hmm, alright. But then why does PlexDrive require a different Google OAuth? Is it because it runs from a bash script though CA User Scripts or something? Edit: I think I figure out why... My bad.
  8. Is it possible to run a script as the CA User Scripts user/program? I want to setup PlexDrive through it, but it requires a one time input from the user (client id stuff and then a dynamically generated code which I have to enter) More info: I used wget to download the linux-amd64 release of PlexDrive 5.0.0, and in the terminal executed the PlexDrive with parameters to test if my commands were gonna work. They did. Now apperently setting up (running the same commands) PlexDrive through CA User Scripts requires me to log in again, as Google sees it as a different "app". Edit: In short, which user is the CA User Scripts user? Edit 2: Odd, when I run id -un through CA User Scripts, it shows root. Seems like I need to somehow bash into CA User Scripts or something like that.
  9. Awesome, thank you. Will try and see how it goes now. Edit: Just a heads up, my Post Conversion shell script didn't do anything.. Ohwell.
  10. Oh, will that configuration stick for the whole lifetime of the Docker Container applying the Preset settings to the /Watch folder? Even when updated/restarted?
  11. My post conversion, for anyone looking for help regarding this: (Not tested yet) (Also just set "Automatic Video Converter: Keep Source Files:" to 1) #!/bin/sh # # This is an example of a post-conversion hook. This script is always invoked # with /bin/sh (shebang ignored). # # The first parameter is the conversion status. A value of 0 indicates that # the video has been converted successfully. Else, conversion failed. # # The second parameter is the full path to the converted video (the output). # # The third parameter is the full path to the source file. # # The fourth argument is the name of the HandBrake preset used to convert the # video. # CONVERSION_STATUS=$1 CONVERTED_FILE="$2" SOURCE_FILE="$3" PRESET="$4" echo "post-conversion: Status = $CONVERSION_STATUS" echo "post-conversion: Output File = $CONVERTED_FILE" echo "post-conversion: Source File = $SOURCE_FILE" echo "post-conversion: Preset = $PRESET" if [ "$CONVERSION_STATUS" -eq 0 ]; then # Successful conversion. # TODO: Do something useful. FILENAME=$CONVERTED_FILE FILESIZE=$(stat -c%s "$FILENAME") FILENAMESource=$SOURCE_FILE FILESIZESource=$(stat -c%s "$FILENAMESource") if (FILESIZE > FILESIZESource) then rm FILENAME else rm FILENAMESource fi : else # Failed conversion. # TODO: Do something useful. : fi ---------------------------- How do I configure the preset to do x265 encoding? I only see these Docker Environmental Parameters: AUTOMATED_CONVERSION_PRESET AUTOMATED_CONVERSION_FORMAT AUTOMATED_CONVERSION_SOURCE_STABLE_TIME AUTOMATED_CONVERSION_SOURCE_MIN_DURATION AUTOMATED_CONVERSION_OUTPUT_SUBDIR AUTOMATED_CONVERSION_KEEP_SOURCE Maybe I missed it, can you point me in the right direction?
  12. Hmm can we make a feature that doesn't remove the Watch file if it is smaller than the Output? Again, maybe we can enable x265 support for the Watch folder compression?
  13. Can you enable x265 compression on Very Fast 1080p30 using the /watch folder?
  14. Is there a php .sock file in the docker to be found? I can't seem to find it in /var/run or /etc/php7, nor is it mentioned in the phpinfo? Thanks for any help!
  15. Is there any way to edit the Nginx.conf for this Docker? (Without it resetting when the docker updates) I want to enable gzip compression because it is so slow. Worked wonders for the Organizr Docker for example.
  16. Is the port 80 change still nessecary on UnRAID 6.4.0 or higher? We can manage the ports used since then. Or is there some additional reason for it using port 80?
  17. Thanks! That fixed the issue. Too bad we can't use a underscore anymore, but it's probably for good reasons. (NETBIOS wise)
  18. It has a single underscore (_) in it, other than that, just letters. (Unimatrix_Zero) If the underscore is an invalid character, how can/should I change it?
  19. I just updated from 6.4.0 to 6.5.0, also updating all dockers and plugins before rebooting. I rebooted, dockers seem to work fine, and I can access then through Unraid's local (static) IP. (Letsencrypt, Plex etc) But I cannot access the WebGUI from that same IP, but I can SSH into it. Boot log picture can be found in the attachment. (Along with a quick Putty screenshot) Thanks for your help!
  20. If I have gotten as far as installing it through a startup script. (yay) How do I properly bash into the docker? If I use docker attach I just end up in what seems to be the log output. No ability to execute commands like cd or apk etc. I would like to call composer manually through ssh via the docker. On a other docker I can attach and execute commands. Am I missing something here?
  21. Thanks! So I should put something like: -v /tmp/user.scripts/dockerScripts/Add Composer To Docker/script:/etc/cont-init.d/40-composer Under "Post Arguments:" in the Letsencrypt Docker Template, right? And than in the Bash script file to which I point it, just do something like: #!/bin/sh cd /tmp php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');" php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer composer --version #echo composer version to log to verify installation
  22. There doesn't seem to be an event for "after updating Docker X", only cron jobs or Array events, but I can run it manually. But that might possibly kinda work, yea. Let the script bash into the docker, and execute a install composer command again. My familiarity with Composer is quite minimal still. I am not sure if it needs to retain some data (which would be lost) in order to keep working with some composer projects. ((Like globally) installed dependencies etc.)
  23. If I'd request Composer to be added to this Docker, would that be out of line? Since, if I would install it myself onto this Docker via Bash, it would be gone if I install a update of this Docker, right?
  24. I want to make a Composer UnRAID Docker template, but from what I have tried so far, it just shuts down after setting it up. I only created a UnRAID template, somewhat, for a PHPMyAdmin Docker before. And the Composer Docker is not giving me anything to work with in terms of errors. Template: Command: Console log: And than it it just isn't running anymore, no error message, nothing. Docker hub: https://hub.docker.com/_/composer/ I tried to follow and convert it as I thought would be as accurate as possible, but it's likely I missed or misinterpreted something. Anyone who tried to make a UnRAID Docker template for Composer yet, or perhaps could shine some light on what to do next?