Jump to content

ideaman924

Members
  • Content Count

    170
  • Joined

  • Last visited

Community Reputation

5 Neutral

About ideaman924

  • Rank
    Advanced Member

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

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

  1. Hi @dlandon, There's a problem with the generated certificate - Chrome does not allow access to Zoneminder at all. I'm guessing it's because of this? https://stackoverflow.com/questions/43665243/invalid-self-signed-ssl-cert-subject-alternative-name-missing/56530824#56530824 Any chance the generation could be fixed so that it includes that parameter?
  2. For anyone who needs the script here it is: #!/bin/bash # Drives declare -a StringArray=("ata-WDC_WD2003FYYS-70W080_WJUN0123456" "DRIVE2" "DRIVE3" "DRIVE4") # Show status echo "Current drive status: " for drive in ${StringArray[@]}; do hdparm -W /dev/disk/by-id/$drive done # Enable write caching for drive in ${StringArray[@]}; do hdparm -W 1 /dev/disk/by-id/$drive done # Show status again echo "Finished running, check if the write cache was enabled!" for drive in ${StringArray[@]}; do hdparm -W /dev/disk/by-id/$drive done Replace the serial codes in the StringArray and you should be good to go! Pop it in User Scripts.
  3. Thank you for the tip! Script works like a charm.
  4. What about the changing values for /dev/sda, /dev/sdb...?
  5. Hi all. When I reboot my server all four of my drives come up with disabled write cache. They're the WD RE 2TB ones. Running hdparm -W 1 /dev/sd<value> fixes the problem but only until the next reboot. Do I just set those lines in the go file? Won't the values change across reboots? How do I get them to enable every time I start up the server? Thanks. derrickserver-diagnostics-20190521-1151.zip
  6. Quick question - I'm not sure if this has been answered before. Google search doesn't show anything. I tried accessing my Plex server today but it was unresponsive (WebUI wouldn't load, iOS app reported "Unexpected Response" under the server name, and then stopped showing the server entirely). This is what I got when I opened up the Docker logs: ... Starting Plex Media Server. Starting Plex Media Server. ... After restarting the Docker: [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... usermod: no changes ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 40-chown-files: executing... [cont-init.d] 40-chown-files: exited 0. [cont-init.d] 50-gid-video: executing... [cont-init.d] 50-gid-video: exited 0. [cont-init.d] 60-plex-update: executing... No update required [cont-init.d] 60-plex-update: exited 0. [cont-init.d] done. [services.d] starting services Starting Plex Media Server. [services.d] done. Starting Plex Media Server. Starting Plex Media Server. ... Anybody know what the hell is going on? I think I applied some updates a couple weeks ago but didn't check after the update to see if it broke anything. Obviously that's now coming to bite me in the ass... EDIT: I spoke too soon. Checked in the appdata folder and it seems like my database is corrupt. Here are the logs if anybody is interested: Apr 30, 2019 22:51:10.896 [0x14eddb07a700] INFO - Plex Media Server v1.15.5.994-4610c6e8d - Docker Docker Container (LinuxServer.io) x86_64 - build: linux-x86_64 debian - GMT 08:00 Apr 30, 2019 22:51:10.896 [0x14eddb07a700] INFO - Linux version: 4.19.33-Unraid, language: en-US Apr 30, 2019 22:51:10.896 [0x14eddb07a700] INFO - Processor AMD A8-3870 APU with Radeon(tm) HD Graphics Apr 30, 2019 22:51:10.896 [0x14eddb07a700] INFO - /usr/lib/plexmediaserver/Plex Media Server Apr 30, 2019 22:51:10.895 [0x14ede77c5f00] DEBUG - BPQ: [Idle] -> [Starting] Apr 30, 2019 22:51:10.896 [0x14ede77c5f00] DEBUG - FeatureManager: Using cached data for features list Apr 30, 2019 22:51:10.896 [0x14ede77c5f00] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.26.0, threadsafe=1 Apr 30, 2019 22:51:10.960 [0x14ede77c5f00] DEBUG - Running migrations. (EPG 0) Apr 30, 2019 22:51:10.963 [0x14ede77c5f00] ERROR - SQLITE3:(nil), 11, database corruption at line 65066 of [bf8c1b2b7a] Apr 30, 2019 22:51:10.963 [0x14ede77c5f00] ERROR - SQLITE3:(nil), 11, statement aborts at 10: [select max(max(metadata_items.changed_at),max(metadata_items.resources_changed_at)) from metadata_items] database disk image is malformed Apr 30, 2019 22:51:10.963 [0x14ede77c5f00] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed So if you have similar problems check Library/Application Support/Plex Media Server/Logs. Now I need to figure out how to fix this stupid database corruption... EDIT2: Fixed it. If you can't waste time with database recovery just nuke this file: /Plug-in Support/Databases/com.plexapp.plugins.library.db and launch the Docker image again. Otherwise follow this article: https://support.plex.tv/articles/201100678-repair-a-corrupt-database/ . Hope this helps someone.
  7. I ended up just re-configuring the default gateway, re-registering and then started up the array as normal. Thanks anyway @remotevisitor!
  8. Hello all! My server USB died today so I replaced it with an identical model from SanDisk. However, I didn’t account for the registration key and now it’s showing up as expired. I tried pressing the “Replace Key” button but it does not work, maybe because right now I don’t have any Internet. I have a VPN router/gateway VM in UnRAID that needs to be on for Internet to work in my house. I remember there was some email address I could contact before, but going to https://lime-technology.com/contact just redirects me to UnRAID’s website with no email. Is there a way where I could email UnRAID’s team with my old/new GUID and replace the key? My phone hotspot works so I can download it from there and put it on the server. Thanks in advance!
  9. +1 to this. My family is a bit accident-prone and frequently overwrites important files with mistakes (such as a wrong cell in an Excel spreadsheet.) Would be nice if they could restore it themselves without bugging me to manually log onto the server and restore the correct file.
  10. Thank you, will hunt around to see if there's a cable somewhere. Also thanks to trurl for helping out!
  11. You were right, enabled SMART and running a self-test. SMART attributes don't look that bad, but I'll leave it to you experts because I'm probably getting my hopes up too soon. Attached SMART report in full. Currently running a short self-test to see if the CRC errors will go away. EDIT: Finished short self-test without error, but the UDMA CRC errors are still there. I'm really out of time, so is there a way to green ball this device if the SMART looks good? I haven't been able to find a spare SATA cable, will probably have to pick some up over vacation. Is this drive good to go? How do I reenable it if it is? derrickserver-smart-20181211-2116.zip
  12. I think the drive is done for, because now it shows some basic drive information, but doesn't give me any attributes. When I try to start a SMART test it immediately stops, with no result. SMART attached. RMA drive after vacation?derrickserver-smart-20181211-2051.zip
  13. I have notifications set up, but I can't check whether they worked or not. I live in China right now and if the array goes down, the internet goes down because one of the VMs act as a VPN passthrough. Since I downed the array, I only have limited access, so can't check Gmail to see if an email actually arrived. I'm rebooting the server to see if it can find the disk. If not, I'm going to pull it and see if a cable came loose.
  14. Hello all. Just logged onto the server tonight to get some configuration files and met this: I tried to see what the problem was with it but SMART shows: Attached diagnostics. Is this drive completely dead? I'm about to go somewhere on vacation and would like to refrain from ordering any drives, as they will arrive after I'm gone. Thoughts? EDIT: Would like to add I have two backups (one onsite, one on Backblaze), but I have finals this week and need to access some coursework on my server. Is there a way to mount it read-only so I can't write anything to the array? Thanks. derrickserver-diagnostics-20181211-2031.zip