OriginalFlavor Posted December 28, 2014 Share Posted December 28, 2014 The following message appears at the top of the web server. The message appears when I enable user shares. I just upgrade from unRAID 4 to 5.06. In addition, I am unable to create shares. Warning: Error parsing /var/local/emhttp/sec.ini on line 319 in /usr/local/emhttp/plugins/webGui/template.php on line 101 Warning: Error parsing /var/local/emhttp/shares.ini on line 724 in /usr/local/emhttp/plugins/webGui/template.php on line 105 Warning: Error parsing /var/local/emhttp/sec_nfs.ini on line 253 in /usr/local/emhttp/plugins/webGui/template.php on line 106 Warning: Error parsing /var/local/emhttp/sec_afp.ini on line 375 in /usr/local/emhttp/plugins/webGui/template.php on line 107 Warning: array_key_exists(): The second argument should be either an array or an object in /usr/local/emhttp/plugins/webGui/template.php(142) : eval()'d code on line 1 What is the significance of the errors? How do I correct them? Am I correct to think there is a link between the error and the inability to create shares? Link to comment
dgaschk Posted December 28, 2014 Share Posted December 28, 2014 Attach the entire syslog. Zip if needed. Link to comment
OriginalFlavor Posted December 30, 2014 Author Share Posted December 30, 2014 The syslog.zip is attached. syslog.zip Link to comment
trurl Posted December 30, 2014 Share Posted December 30, 2014 Have you tried clearing your browser cache? Link to comment
OriginalFlavor Posted December 31, 2014 Author Share Posted December 31, 2014 Clearing the cache did not fix the issues. The warning remains. Still not able to create shares. Link to comment
trurl Posted December 31, 2014 Share Posted December 31, 2014 Your syslog has a lot of lines like: Dec 29 23:07:03 Tower emhttp: get_config_idx: fopen /boot/config/shares/LisaQB.cfg: No such file or directory - assigning defaults Dec 29 23:07:03 Tower emhttp: get_config_idx: fopen /boot/config/shares/Mazinger Z Tv Series.cfg: No such file or directory - assigning defaults Dec 29 23:07:03 Tower emhttp: get_config_idx: fopen /boot/config/shares/Music.cfg: No such file or directory - assigning defaults Dec 29 23:07:03 Tower emhttp: get_config_idx: fopen /boot/config/shares/Music Backup.cfg: No such file or directory - assigning defaults Dec 29 23:07:03 Tower emhttp: get_config_idx: fopen /boot/config/shares/Music Backup HP.cfg: No such file or directory - assigning defaults Dec 29 23:07:03 Tower emhttp: get_config_idx: fopen /boot/config/shares/Naruto.cfg: No such file or directory - assigning defaults Dec 29 23:07:03 Tower emhttp: get_config_idx: fopen /boot/config/shares/Naruto manga.cfg: No such file or directory - assigning defaults This leads me to believe that you have created a lot of folders or files at the root of one of your cache or array drives. unRAID automatically considers any top level folder of cache or any array drives as a user share, with default configuration. I doubt this is what you intended. Link to comment
OriginalFlavor Posted January 2, 2015 Author Share Posted January 2, 2015 Thanks trurl! You were correct: too many folders/files in top level of disk1. I fixed the issue by first creating a top level folder "unsorted" on disk1, then moving all of the files and folders from the top level into unsorted. Then, I followed the procedures for using shares and the process worked successfully. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.