publicENEMY Posted February 5, 2018 Posted February 5, 2018 I have this weird problem where it says that Array undefined at the bottom of tower/ home page (see screenshot). This is the second time it happen. The first time I reset my unraid box and after reset, it works fine. All drives are green. Then it happen again. When it happen, I can still access my shares. Ssh also works. But my internet is downed. Lan pinging results in lots of no response. Anyway, whats the problem and what should I do? Have anyone experience this before?
publicENEMY Posted February 5, 2018 Author Posted February 5, 2018 I cant get the diagnostic logs. Nothing happens when I press download. This is the best log that I can get. https://gist.github.com/syaifulnizamyahya/27a152fb41ff95271947fb9615768376 Or, are there any other way to obtain diagnostic log? THanks.
publicENEMY Posted February 5, 2018 Author Posted February 5, 2018 I also notice this line Quote Feb 5 13:52:33 Tower rc.diskinfo[17252]: PHP Warning: file_put_contents(): Only 4096 of 17834 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 266 Does this mean I have no disk space available?
bonienl Posted February 5, 2018 Posted February 5, 2018 Start your system in safe mode to ensure no conflcts are present with plugins and packages.
publicENEMY Posted February 5, 2018 Author Posted February 5, 2018 It happen again. this time, this is the error. Quote Feb 6 06:21:29 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2600 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:30 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2584 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:31 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2575 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:31 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 16384 of 17834 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 266 Feb 6 06:21:33 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 666 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:33 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2561 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:33 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2563 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:34 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2584 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:34 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2581 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:34 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2558 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:34 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2600 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:35 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2584 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:36 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2575 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:36 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 16384 of 17834 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 266 Feb 6 06:21:38 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 666 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:38 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2561 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:38 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2563 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:39 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2584 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:39 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2581 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:39 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2558 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:39 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2600 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:40 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2584 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Feb 6 06:21:41 Tower rc.diskinfo[17255]: PHP Warning: file_put_contents(): Only 0 of 2575 bytes written, possibly out of free disk space in /etc/rc.d/rc.diskinfo on line 499 Please help.
publicENEMY Posted February 5, 2018 Author Posted February 5, 2018 From the logs, basically I have error on line 499 and 266 Line 499 is the the last line of this Quote // Probe persistent disk data if data isn't cached or reload triggered if (! isset($cache[$name]) || $reload || $force) { debug("Probing disk ${device} info...", "DEBUG"); // Get info using UDEV subsystem $udev = trim($this->benchmark("shell_exec", "timeout -s 9 ". $this->exec_time ." udevadm info --query=property --name ${device} 2>/dev/null")); $udev = parse_ini_string($udev); $disk = array_intersect_key($udev, array_flip($whitelist)); $disk['SERIAL_SHORT'] = isset($disk["ID_SCSI_SERIAL"]) ? $disk["ID_SCSI_SERIAL"] : $disk['ID_SERIAL_SHORT']; $disk['SERIAL'] = trim("{$disk[ID_MODEL]}_{$disk[SERIAL_SHORT]}"); // Get device BUS $disk["BUS"] = (stripos($disk["DEVPATH"], "usb") !== -1) ? "usb" : "ata"; unset($disk["DEVPATH"]); // Get SMART device type from cached info or get it using get_smart_type function $disk["SMART"] = $disk["SMART"] ? $disk["SMART"] : $this->get_smart_type($device); // Probe SMART data $smartInfo = explode(PHP_EOL, $this->benchmark("shell_exec", "timeout -s 9 ". $this->exec_time ." smartctl --info --attributes ${disk['SMART']} '${device}' 2>/dev/null")); $disk['FAMILY'] = $parse_smart($smartInfo, "Model Family"); $disk['MODEL'] = $parse_smart($smartInfo, "Device Model"); if ($disk['FAMILY'] == "n/a" && $disk['MODEL'] == "n/a" ) { $vendor = $parse_smart($smartInfo, "Vendor"); $product = $parse_smart($smartInfo, "Product"); $revision = $parse_smart($smartInfo, "Revision"); $disk['FAMILY'] = "{$vendor} {$product}"; $disk['MODEL'] = "{$vendor} {$product} - Rev. {$revision}"; } $disk['FIRMWARE'] = $parse_smart($smartInfo, "Firmware Version"); $disk['SIZE'] = $current["SIZE"]; $disk['SIZE_H'] = trim(shell_exec("numfmt --to=si --suffix=B --format='%1.f' --round=nearest ${disk['SIZE']} 2>/dev/null")); $disk['SIZE_H'] = preg_replace("/(^\d+)(.*)/", "$1 $2", $disk['SIZE_H']); $disk["DEVICE"] = $device; $smartInfo = implode(PHP_EOL, $smartInfo); file_put_contents($smart_file, $smartInfo); <-line 499 } Line 266 is the last line of this Quote class Misc { public static function save_json($file, $content) { file_put_contents($file, json_encode($content, JSON_PRETTY_PRINT )); <line 266 }
publicENEMY Posted February 5, 2018 Author Posted February 5, 2018 Ive restarted my unraid and here are the logs. Not sure if this is useful. tower-diagnostics-20180206-0704.zip
ljm42 Posted February 5, 2018 Posted February 5, 2018 Uninstall the Advanced Buttons and Preclear plugins, these are known to be incompatible. You should review the other advice in this thread as well:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.