Jump to content

Raptor2k

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Raptor2k

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you Squid and bonienl. The hint of boninl works flawlessly. Here is my new go config file for the community: #!/bin/bash # Start the Management Utility sleep 1 wget --user=xxx --password='xxx' ftp://xxx.7z -O /root/xxx.7z sleep 4 7z e /root/xxx.7z -pxxx -O/root/ sleep 4 /usr/local/sbin/emhttp & Now the services start and unraid can unlock my array. Just for the record. I am using version 6.7.2 Kind regards Raptor2k
  2. i want an extra command cause my array is not auto starting. My Unraid Nas is downloading the file, unzip it but not start the array. Auto Start is enabled. So i thought... add an extra line of code in the go file. Thx for your fast respone.
  3. Hello community, i am a litte ashamed but i can not find the bash command for starting my array. I want to start my array using my go config file: sleep 1 wget --user=xxx --password='xxx' ftp://xxx -O /root/xxx sleep 4 7z e /root/keyfile.7z -pxxx -O/root/ sleep 10 -> Command bash for starting array ??? <- The command should have the same function as the button inside the GUI / Main Page -> Button " Start Array". Thank for your help and mabye you can show me the manuel / webpage where i can find the bash commands for unraid. Kind regadrs and thx for your help Raptor2k
  4. omg i achieved it: I have to give the 7z script the exact path for extracting: Here for the community my solution: Script for go File "Download encrypted keyfile, extract it on unraid server"
  5. Ah great this works. so i have added a new line in my "go" config. But can you or somebody help me why the server only downloads the 7z file and do not extract it at startup? Go file with my censored logins / passwords (censored "xxx"): By the way inside the unraid terminal or with putty the line to extract the 7z works flawlessly. Thx for your answers. Kind regards Raptor2k
  6. Hello, i want to unzip my keyfile which i downloaded from a remote ftp server. But unfortunately i got an error: root@nas:~# unzip keyfile.zip Archive: keyfile.zip skipping: keyfile need PK compat. v5.1 (can do v4.6) I assume that i need to upgrade the program unzip to version 5.1? But i do not know how to upgrade or install a new program inside my unraid container. (i also wanted to use p7zip but failed) Acces is gained via Putty / Bash. Thanks for your answers and help. Kind regards Raptor2k
  7. hello, can i use user scripts for scanning my nextcloud files? i want to insert this code: docker exec -it mynextcloudserver sudo -u abc php /config/www/nextcloud/occ files:scan --all the code should be executed daily. Thx for your replies.
  8. Unfortunately i was too optimistic. Strangely when my array wakes up from standby the s3 sleep plugin detects a disk activity on sdc. But when i spin up my drives and unraid spins down cause of inactivity then the s3 sleep plugin starts the countdown for sleep state. How can we detect the disk activity which interrupts s3 sleep plugin for sleep state? Feb 4 07:55:43 nas s3_sleep: s3_sleep process ID 15868 started, To terminate it, type: s3_sleep -q Feb 4 07:55:43 nas s3_sleep: Disk activity on going: sdc Feb 4 07:55:43 nas s3_sleep: Disk activity detected. Reset timers. Feb 4 07:56:43 nas s3_sleep: Disk activity on going: sdc Feb 4 07:56:43 nas s3_sleep: Disk activity detected. Reset timers. Feb 4 07:57:43 nas s3_sleep: Disk activity on going: sdc Feb 4 07:57:43 nas s3_sleep: Disk activity detected. Reset timers. Feb 4 07:58:43 nas s3_sleep: Disk activity on going: sdc Feb 4 07:58:43 nas s3_sleep: Disk activity detected. Reset timers. Feb 4 07:59:43 nas s3_sleep: Disk activity on going: sdc Feb 4 07:59:43 nas s3_sleep: Disk activity detected. Reset timers. Feb 4 08:00:43 nas s3_sleep: Disk activity on going: sdc Feb 4 08:00:43 nas s3_sleep: Disk activity detected. Reset timers. Feb 4 08:01:43 nas s3_sleep: Disk activity on going: sdc Feb 4 08:01:43 nas s3_sleep: Disk activity detected. Reset timers. Feb 4 08:02:43 nas s3_sleep: Disk activity on going: sdc Feb 4 08:02:43 nas s3_sleep: Disk activity detected. Reset timers. Feb 4 08:03:43 nas s3_sleep: Disk activity on going: sdc Feb 4 08:03:43 nas s3_sleep: Disk activity detected. Reset timers. ... Feb 4 08:14:43 nas s3_sleep: Disk activity detected. Reset timers. Feb 4 08:15:23 nas emhttpd: req (10): cmd=/plugins/open.files/scripts/killprocess&arg1=11795&csrf_token=**************** Feb 4 08:15:23 nas emhttpd: cmd: /usr/local/emhttp/plugins/open.files/scripts/killprocess 11795 Feb 4 08:15:43 nas s3_sleep: Disk activity on going: sdc Feb 4 08:15:43 nas s3_sleep: Disk activity detected. Reset timers. nas-diagnostics-20190204-0810.zip
  9. ok i have done you 5 steps guide. Now i will wait 15 minutes... eb 2 22:06:24 nas s3_sleep: Disk activity detected. Reset timers. Feb 2 22:07:24 nas s3_sleep: Disk activity on going: sdc Feb 2 22:07:24 nas s3_sleep: Disk activity detected. Reset timers. omg thank you for your support ! it works !: Feb 2 22:21:25 nas kernel: mdcmd (84): spindown 0 Feb 2 22:21:25 nas s3_sleep: Disk activity on going: sdc Feb 2 22:21:25 nas s3_sleep: Disk activity detected. Reset timers. Feb 2 22:21:25 nas kernel: mdcmd (85): spindown 1 Feb 2 22:22:25 nas s3_sleep: All monitored HDDs are spun down Feb 2 22:22:25 nas s3_sleep: Extra delay period running: 10 minute(s) Feb 2 22:23:25 nas s3_sleep: All monitored HDDs are spun down Feb 2 22:23:25 nas s3_sleep: Extra delay period running: 9 minute(s) Feb 2 22:24:25 nas s3_sleep: All monitored HDDs are spun down Feb 2 22:24:25 nas s3_sleep: Extra delay period running: 8 minute(s) Feb 2 22:25:25 nas s3_sleep: All monitored HDDs are spun down Feb 2 22:25:25 nas s3_sleep: Extra delay period running: 7 minute(s) Feb 2 22:26:25 nas s3_sleep: All monitored HDDs are spun down Feb 2 22:26:25 nas s3_sleep: Extra delay period running: 6 minute(s) Feb 2 22:27:25 nas s3_sleep: All monitored HDDs are spun down Feb 2 22:27:25 nas s3_sleep: Extra delay period running: 5 minute(s) Feb 2 22:28:25 nas s3_sleep: All monitored HDDs are spun down Feb 2 22:28:25 nas s3_sleep: Extra delay period running: 4 minute(s) Feb 2 22:29:25 nas s3_sleep: All monitored HDDs are spun down Feb 2 22:29:25 nas s3_sleep: Extra delay period running: 3 minute(s) Feb 2 22:30:25 nas s3_sleep: All monitored HDDs are spun down Feb 2 22:30:25 nas s3_sleep: Extra delay period running: 2 minute(s)
  10. Yep you are right. I have played around first without an cache drive. Strangely i have tried the mover workround but the system / docker.img is not removed by unraid. Here are my settings: - The excluded disk setting was a desperate attempt :/...
  11. Ah thank you. So i deactivated the recommended settings: And this setting was the every minut acitivity on my array ? I will test it and report asap.
  12. Hello support folks ;), i have the following problem and need your help for resolving. Since i have installed MariaDB and Nextcloud on my nas the nas will never go to sleep state cause every minute some activity is going on on my array: Feb 2 15:55:13 nas s3_sleep: Disk activity on going: sdc Feb 2 15:55:13 nas s3_sleep: Disk activity detected. Reset timers. Feb 2 15:56:13 nas s3_sleep: Disk activity on going: sdc Feb 2 15:56:13 nas s3_sleep: Disk activity detected. Reset timers. Feb 2 15:57:13 nas s3_sleep: Disk activity on going: sdc Feb 2 15:57:13 nas s3_sleep: Disk activity detected. Reset timers. Feb 2 15:58:13 nas s3_sleep: Disk activity on going: sdc ... etc. My first efforts to find solutions for the problem: Step 1.) Moving all dockers to the Cache Drive. Step 2.) Use the Mover Schedule for Moving the folders appdate, system, vm to the Cache Drive. Step 3.) Use the button "Spin Down" in the Unraid Web GUI > Main. Now the S3 Sleep Plugin starts the countdown for sleep state: Feb 2 16:26:44 nas kernel: mdcmd (51): spindown 0 Feb 2 16:26:45 nas kernel: mdcmd (52): spindown 1 Feb 2 16:26:46 nas kernel: mdcmd (53): spindown 2 Feb 2 16:26:46 nas emhttpd: shcmd (112): /usr/sbin/hdparm -y /dev/sda Feb 2 16:26:46 nas root: Feb 2 16:26:46 nas root: /dev/sda: Feb 2 16:26:46 nas root: issuing standby command Feb 2 16:27:14 nas s3_sleep: All monitored HDDs are spun down Feb 2 16:27:14 nas s3_sleep: Extra delay period running: 10 minute(s) For addtional analysis... A screenshot of Glances: A code snippet of the Plugin File Activity: File Activity ** Disk 1 Feb 02 14:08:06 CREATE => /mnt/disk1/1114285956.tmp Feb 02 14:08:06 OPEN => /mnt/disk1/1114285956.tmp Feb 02 14:08:06 OPEN => /mnt/disk1/1114285956.tmp Feb 02 14:08:06 DELETE => /mnt/disk1/1114285956.tmp ** Disk 2 Feb 02 14:08:06 CREATE => /mnt/disk2/1114683235.tmp Feb 02 14:08:06 OPEN => /mnt/disk2/1114683235.tmp Feb 02 14:08:06 OPEN => /mnt/disk2/1114683235.tmp Feb 02 14:08:06 DELETE => /mnt/disk2/1114683235.tmp ** Cache Feb 02 14:08:06 CREATE => /mnt/cache/1682956116.tmp Feb 02 14:08:06 OPEN => /mnt/cache/1682956116.tmp Feb 02 14:08:06 OPEN => /mnt/cache/1682956116.tmp Feb 02 14:08:06 DELETE => /mnt/cache/1682956116.tmp Feb 02 14:15:02 OPEN => /mnt/cache/n/nextcloud.log Feb 02 15:43:20 OPEN => /mnt/cache/system/docker/docker.img Feb 02 15:45:02 OPEN => /mnt/cache/n/nextcloud.log Feb 02 15:47:35 ATTRIB,ISDIR => /mnt/cache/n Feb 02 15:47:35 ATTRIB,ISDIR => /mnt/cache/n/ Feb 02 16:00:01 OPEN => /mnt/cache/n/nextcloud.log Feb 02 16:30:01 OPEN => /mnt/cache/n/nextcloud.log My S3 Sleep Plugin Settings: - Wait for Disk Array : Yes, exclude cache - 10 minutes delay for Sleep State - Wait for network inactivity: Yes, Medium Traffic (100kbits) ------------------- I would be so happy if somebody can help me. I am trying to resolve this problem since over 2 weeks. Thank you very much for your support. Kind regards and greetings from Germany. Raptor2k aka Tom. nas-diagnostics-20190202-1604.zip