Jump to content

hernandito

Community Developer
  • Posts

    1,483
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by hernandito

  1. I just accidentally found the RDP_Calibre Docker and I have to say it's amazing!! I have been using the RDP and my desktop version in an extremely clunky way. This just puts it all in one place and off my Windows machine altogether. Many thanks for this!! H.
  2. Any chance you could post a sanitized version of your reverse proxy conf file? Curious to see how you are assigning both stuff on 82 and on 1962. I have been trying to also figure out how to do the letsencrypt with the linuxserver Apache docker. I use the older reverse proxy docker still. And I simultaneously use the Apache Docker as well. I want to consolidate. I posted my issue w/ letencrypt on the Apache docker thread https://lime-technology.com/forum/index.php?topic=43858.msg500727#msg500727 Many thanks!! H.
  3. Sorry for the basic question. I use reverse proxy docker to acces other container interfaces from outside my network using my own domain name. All password protected. Reverse proxy uses port 80. Does this mean I cannot use pinhole for unraid? Is there a way to configure reverse proxy to another port, and how will that impact accessing using my domain? For example myowndomain.com/couchpotato. I am tempted to dust off my raspberry-pi and try pinhole.
  4. How about using the User Script plugin to call a command to your docker to execute the folder copy? You can put multiple commands in the user script itself. You can put UserSscripts on its built-in scheduler.
  5. Hi, For this, you MUST have a Calibre setup database already in place. I created mine in Windows, and store the books and the database it creates in a share. This Calibre Server then a,lows you to access your collection from any web enabled device. But it MUST point to an already existing library. In my case, I point it to my owncloud folder, so I can update my Calibre from Windows on any machine. These are the files stored in that share I hope this helps.
  6. Thank you...! I will check it out ;)
  7. Hi dheg... Is there any chance you could share your script for the listing of your media folders? I really want to have something like that. Thanks, H. Sure, how do I do that? Sent from my SM-G901F using Tapatalk Just open the script file in text editor and copy all the text into a new message in the thread wgstarks mentioned above. Provide a brief description of what it does so others can benefit as well. Many thanks, H.
  8. Hi dheg... Is there any chance you could share your script for the listing of your media folders? I really want to have something like that. Thanks, H.
  9. Backup MySQL Database Folder This will backup your MySQL folder. Please edit the script below to make sure your paths are correct. This script is fairly basic and is more geared towards beginers than experts. You can in essence, use it as a basis to backup any folder(s) you want. For example, I use it to backup my appdata folder (stored in cache drive) to a drive on my array. This way if my cache drive fails, I have all the Docker stuff backed up. description Backup <b><font color='green'>MySQL</b></font> folder. script #!/bin/bash source="/mnt/disk8/mysql4/" destination="/mnt/disk4/mysql-backup" echo "<div style=' width: 40%; -webkit-border-radius: 8px 8px 0 0; border-radius: 8px 8px 0 0; border: solid 1px #cccccc; background-color: #ffe88a; padding-left: 10px;'><br><b><font color='black' size='2'>Backing-Up MySQL Folder </font><b><br> </div>" #echo "=======================" #echo "Backing-up from:" #echo " <b><font color='blue'>"$source "</b></font>" #echo "to:" #echo " <b><font color='blue'>"$destination </b></font>" echo "<div style='width: 40%; -webkit-border-radius: 0 0 8px 8px; border-radius: 0 0 8px 8px; background-color: #ebebeb; margin-top: -14px; padding-left: 10px; padding-top: 6px;border: solid 1px #cccccc; '>Backing-up from: <br><b><font color='blue' size='2'>"$source "</b></font> <br>to:<br><b><font color='blue' size='2'>"$destination "</b></font><br> </div>" date >/var/log/cache_backup.log /usr/bin/rsync -avrtH --delete $source $destination >>/var/log/mysql_backup.log echo "" echo "<div style='padding-left: 10px; margin-top: -14px; '><font color='green' size='4'><b>Done!</b></font></div>" Fun stuff.
  10. (Moved from original script thread.) My mini-contribution: CleanDockerLogSize script. This will display the log sizes, clean them, and then displays the result after the cleaning. description Clean-up the Docker Log Sizes on your system. script echo "" echo "<font color='red'><b>Before:</b></font>" echo "=====================================================================================================================================================================================" du -ah /var/lib/docker/containers/ | grep -v "/$" | sort -rh | head -60 | grep .log echo "=====================================================================================================================================================================================" echo "Cleaning Logs:" logs=$(find /var/lib/docker/containers/ -name '*.log');for log in $logs; do cat /dev/null > $log;done sleep 6 echo "...<font color='blue'>cleaning complete!</font>" echo "" echo "<font color='green'><b>After:</b></font>" echo "=====================================================================================================================================================================================" du -ah /var/lib/docker/containers/ | grep -v "/$" | sort -rh | head -60 | grep .log echo "" Please understand guys, I am not an expert.
  11. moved to script sample thread: http://lime-technology.com/forum/index.php?topic=50416.0
  12. Thank you Squid... The Docker ID is not needed per Saarg... Removing the -i fixed the problem as well in my script. Thank you very much!!
  13. Saarg... I cant believe it was as simple as that. Just tried it and it worked. Thank you.
  14. For my item 2) above, when I run the script, I get me message that says: cannot enable tty mode on non tty input My script is: #!/bin/bash echo "Updating Sickrage Edits" echo "If failed, need to ensure ID of Docker is correct in the script." docker exec -t -i 70201386b244 cp -R /config/sickrage-edits/gui/slick /app/sickrage/gui/ How can I fix this? Thanks, H.
  15. This is fantastic... I was doing these via my own batch script. This is much easier! Thank you Squid! A few thoughts/questions: 1) Can others share their scripts so we can incorporate into our system? 2) A little guidance for creating my own script... I have a script that executes a command inside one of my Dockers. The script goes something like: docker exec -t -i 70201386b244 cp -R /config/folderA /app/sab/folderB/ The number above is the ID of the Docker I want to access. If I re-intsall the Docker, this number changes. Is there a way to switch out the docker ID with something that will survive a Docker re-install? 3) When doing something with Dynamix Schedules, am I correct to assume that it will run in the background? Thanks, H.
  16. Thank you guys... I will keep trying. I thought there had to be a Docker update.
  17. UPDATE Had a hard drive fail on me... I recovered and I think that was the problem. It was looking for folders in /mntuser/downloads/ that were corrupted. All working now.
  18. My Sab was crashed/stopped this morning, and I restarted Sab and I got the same thing. I deleted the container and re-added it with the same results. I basically have a container that does not fully execute the initial Sab installation. Here is what I get on the log scree: Get:28 http://ubuntu.osuosl.org trusty/restricted amd64 Packages [16.0 kB] Get:29 http://ubuntu.osuosl.org trusty/universe amd64 Packages [7,589 kB] Get:30 http://ubuntu.osuosl.org trusty/multiverse amd64 Packages [169 kB] Fetched 22.3 MB in 2s (8,329 kB/s) Reading package lists... (Reading database ... 16748 files and directories currently installed.) Preparing to unpack .../sabnzbdplus_1.1.0~beta1a-0ubuntu1~jcfp1~trusty_all.deb ... Unpacking sabnzbdplus (1.1.0~beta1a-0ubuntu1~jcfp1~trusty) over (1.0.2-0ubuntu1~jcfp2~trusty) ... Processing triggers for ureadahead (0.100.0-16) ... Processing triggers for mime-support (3.54ubuntu1.1) ... Setting up sabnzbdplus (1.1.0~beta1a-0ubuntu1~jcfp1~trusty) ... "Done Button" I then read the forum and saw about the ADVANCED_DISABLEUPDATES but it does not work since it was a new container without the Sab completed the install. I have no download capability. :( :( EDIT: Yes something major is going on with the Docker Hub... I tried installing the NZBGet docker and the thing craps out when launching.
  19. I have upgraded and I get the below message in the docker log window: [348] 15 Jun 17:26:15.558 # Server started, Redis version 2.8.4 [348] 15 Jun 17:26:15.558 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. I can try to do this manually...? OK tried what it says on the message and no luck. I have 64GB of memory in my system. When I go to the Web Interface, this is the error message at the top: 08006 DBI connect('dbname=musicbrainz_db','abc',...) failed: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? Any help is greatly appreciated. EDIT OK.... Trying on clean folders for the config and the data... both on my cache drive. It is now "fetching the dump data..." I will report later on. SECOND EDIT OK I got the same result from the beginning.... Now I need help please. Thanks, H.
  20. Not working for me either.... Looking forward to the solution as well.
  21. Thank you; it works perfectly. I prompted me to fix a handful of minor things...
  22. Unassigned Devices Does Not Format I am on the latest version of UD, unraid 6.1.9, and in settings, Destructive Mode is Enabled. This happens both on my server, and my sisters server. A drive that has just been pre-cleared, when I click the "Format" button, I get a "fromat Failed.." It gets the error if I try formating to XFS and NTFS. On two separate servers. Any ideas? It has to be a simple thing. Many thanks, H.
×
×
  • Create New...