March 29, 20233 yr Today I restart my unraid(took it offline to clean the case), login to WEBUI and notice every info update is very laggy, and I check the log, it keeps showing these : Mar 29 10:52:19 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Mar 29 10:52:20 185409 root: error: /plugins/community.applications/scripts/notices.php: wrong csrf_token Mar 29 10:52:20 185409 root: error: /webGui/include/Report.php: wrong csrf_token Mar 29 10:52:20 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Mar 29 10:52:20 185409 root: error: /webGui/include/DashboardApps.php: wrong csrf_token Mar 29 10:52:24 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Mar 29 10:52:24 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Mar 29 10:52:25 185409 root: error: /plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token Mar 29 10:52:25 185409 root: error: /webGui/include/Notify.php: wrong csrf_token Mar 29 10:52:25 185409 root: error: /plugins/community.applications/scripts/notices.php: wrong csrf_token Mar 29 10:52:25 185409 root: error: /webGui/include/Report.php: wrong csrf_token Mar 29 10:52:25 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Mar 29 10:52:25 185409 root: error: /webGui/include/DashboardApps.php: wrong csrf_token Mar 29 10:52:27 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Mar 29 10:52:27 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Mar 29 10:52:27 185409 emhttpd: error: cmdHotplug: wrong csrf_token Mar 29 10:52:27 185409 emhttpd: emhttpd: HTTP/1.1 500 Internal Server Error#015 Mar 29 10:52:35 185409 root: error: /webGui/include/Report.php: wrong csrf_token Mar 29 10:52:35 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Mar 29 10:52:35 185409 root: error: /plugins/community.applications/scripts/notices.php: wrong csrf_token Mar 29 10:52:35 185409 root: error: /webGui/include/DashboardApps.php: wrong csrf_token Mar 29 10:52:36 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Mar 29 10:52:36 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Mar 29 10:52:38 185409 root: error: /plugins/dynamix.vm.manager/include/VMajax.php: wrong csrf_token Mar 29 11:57:30 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini Mar 29 11:57:31 185409 emhttpd: error: update_ini, 704: No such file or directory (2): unlink: /var/local/emhttp/var.ini.new Mar 29 11:57:31 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini Mar 29 11:57:31 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/devs.ini.new /var/local/emhttp/devs.ini Mar 29 11:57:31 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/users.ini.new /var/local/emhttp/users.ini Mar 29 11:57:31 185409 emhttpd: error: update_ini, 704: No such file or directory (2): unlink: /var/local/emhttp/shares.ini.new Mar 29 11:57:31 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/sec.ini.new /var/local/emhttp/sec.ini Mar 29 11:57:31 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/sec_nfs.ini.new /var/local/emhttp/sec_nfs.ini Mar 29 11:57:32 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/var.ini.new /var/local/emhttp/var.ini Mar 29 11:57:32 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini Mar 29 11:57:32 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/devs.ini.new /var/local/emhttp/devs.ini Mar 29 11:57:32 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/users.ini.new /var/local/emhttp/users.ini Mar 29 11:57:32 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/shares.ini.new /var/local/emhttp/shares.ini Mar 29 11:57:32 185409 emhttpd: error: update_ini, 704: No such file or directory (2): unlink: /var/local/emhttp/sec.ini.new Mar 29 11:57:32 185409 emhttpd: error: update_ini, 704: No such file or directory (2): unlink: /var/local/emhttp/sec_nfs.ini.new Mar 29 11:57:33 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini Mar 29 11:57:33 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/sec.ini.new /var/local/emhttp/sec.ini Mar 29 11:57:34 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/var.ini.new /var/local/emhttp/var.ini Mar 29 11:57:34 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini Mar 29 11:57:34 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/shares.ini.new /var/local/emhttp/shares.ini Mar 29 11:57:34 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/sec.ini.new /var/local/emhttp/sec.ini Mar 29 11:57:35 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini Mar 29 11:57:35 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/users.ini.new /var/local/emhttp/users.ini Mar 29 11:57:35 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/shares.ini.new /var/local/emhttp/shares.ini Mar 29 11:57:35 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/sec.ini.new /var/local/emhttp/sec.ini Mar 29 11:57:35 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/sec_nfs.ini.new /var/local/emhttp/sec_nfs.ini Mar 29 11:57:36 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/var.ini.new /var/local/emhttp/var.ini Mar 29 11:57:36 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini Mar 29 11:57:36 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/users.ini.new /var/local/emhttp/users.ini Mar 29 11:57:36 185409 emhttpd: error: update_ini, 704: No such file or directory (2): unlink: /var/local/emhttp/shares.ini.new Mar 29 11:57:36 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/sec.ini.new /var/local/emhttp/sec.ini Mar 29 11:57:36 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/sec_nfs.ini.new /var/local/emhttp/sec_nfs.ini Mar 29 11:57:37 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/var.ini.new /var/local/emhttp/var.ini Mar 29 11:57:37 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini No idea how or when this started, but everything was fine before, and unraid still runs every services fine, just the info updates looks very laggy Edited March 29, 20233 yr by xyzeratul
March 29, 20233 yr Author OK I find out the resaon with wrong csrf_token, some leftover from last login mess with the setting. but still can't find anything on the "emhttpd: error"
April 2, 20233 yr Author 3 hours ago, JorgeB said: Please post the diagnostics. 185409-diagnostics-20230402-2155.zip This is the dignostics I get after I reboot my NAS, don't know if this caught the error or not.
April 2, 20233 yr Community Expert Syslog starts over after every boot, post new ones if you start getting the same error again, before rebooting.
April 2, 20233 yr Author 2 hours ago, JorgeB said: Syslog starts over after every boot, post new ones if you start getting the same error again, before rebooting. OK,shouldn't be too hard for reproducting this problem, it always happens right after I reboot or shutdown and start my nas. I will post a new one as soon as I am have some free time to do so.
April 6, 20233 yr Author On 4/2/2023 at 10:23 PM, JorgeB said: Syslog starts over after every boot, post new ones if you start getting the same error again, before rebooting. 185409-diagnostics-20230406-1633.zip Got it, it doesn't appear on every reboot or restart, but 1 out 3 times it happens. UI update is very laggy, and the web refeash on itself, very strange....
April 6, 20233 yr Community Expert Seeing some strange errors, try booting in safe mode to rule out any plugin issues.
April 6, 20233 yr Author 43 minutes ago, JorgeB said: Seeing some strange errors, try booting in safe mode to rule out any plugin issues. still same problem, boot in safe GUI mode, UI update is still very laggy shut down and start in normal mode, everything is fine this time, this is making me crazy Edited April 6, 20233 yr by xyzeratul
April 7, 20233 yr Author It happens again after the reboot, I grab the dignostics for this time, don't know if this would help 185409-diagnostics-20230407-1733.zip
April 7, 20233 yr Community Expert Nothing out of the ordinary logged that I can see, other than these: Apr 7 17:33:18 185409 root: error: /webGui/include/Report.php: wrong csrf_token Apr 7 17:33:18 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Apr 7 17:33:18 185409 root: error: /plugins/community.applications/scripts/notices.php: wrong csrf_token These will happen if you have multiple browser windows opened to the GUI, make sure to close the rest.
April 7, 20233 yr Author 29 minutes ago, JorgeB said: Nothing out of the ordinary logged that I can see, other than these: Apr 7 17:33:18 185409 root: error: /webGui/include/Report.php: wrong csrf_token Apr 7 17:33:18 185409 root: error: /webGui/include/InitCharts.php: wrong csrf_token Apr 7 17:33:18 185409 root: error: /plugins/community.applications/scripts/notices.php: wrong csrf_token These will happen if you have multiple browser windows opened to the GUI, make sure to close the rest. yes, I understand these, but what troubles me are these error: Apr 7 17:50:27 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini Apr 7 17:50:28 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini Apr 7 17:50:29 185409 emhttpd: error: update_ini, 704: No such file or directory (2): unlink: /var/local/emhttp/var.ini.new Apr 7 17:50:29 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/disks.ini.new /var/local/emhttp/disks.ini Apr 7 17:50:29 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/shares.ini.new /var/local/emhttp/shares.ini Apr 7 17:50:29 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/sec.ini.new /var/local/emhttp/sec.ini Apr 7 17:50:29 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/sec_nfs.ini.new /var/local/emhttp/sec_nfs.ini Apr 7 17:50:30 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var/local/emhttp/var.ini.new /var/local/emhttp/var.ini and the UI laggy happens from time to time, but after many test, I noticed this laggy sometimes go away when I restart the NAS, sometimes it doesn't, I don't know if this related to any error showing in the log.
April 7, 20233 yr Community Expert 36 minutes ago, xyzeratul said: yes, I understand these, but what troubles me are these error: Apr 7 17:50:27 185409 emhttpd: error: update_ini, 711: No such file or directory (2): rename: /var There are no such errors in the diags posted.
April 7, 20233 yr Author 4 minutes ago, JorgeB said: There are no such errors in the diags posted. oops, forgot I reboot between this one, this should have: 185409-diagnostics-20230407-1858.zip
April 7, 20233 yr Community Expert At this point, and if you see the same issues in safe mode, I would recreate the flash drive, backup current one first then restore the bare minimum from the backup, like super.dat, pools folder, key file and the container templates.
April 7, 20233 yr Author 1 hour ago, JorgeB said: At this point, and if you see the same issues in safe mode, I would recreate the flash drive, backup current one first then restore the bare minimum from the backup, like super.dat, pools folder, key file and the container templates. OK, seems I have this one option left, I keep a flash drvie backup, format the drive then install a new one: Just copy super.dat, pools folder, key file and the container templates on the new drive for testing, hopefully the problem is gone, right?
April 8, 20233 yr Author Solution holy s#########, I think I found out the reason, it's the proxy setting behind all these I am using this plugin to set system and CA go tho proxy, so it would modife my go file, so even in safe mode, the go file has the proxy setting, remove all the setting in go file, no more emhttp errors
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.