I did find backups going to early July. I could shutdown HS4 and copy style.css from back then or is it not quite that simple?
Announcement
Collapse
No announcement yet.
Jon00 Links for Homeseer 4
Collapse
This topic is closed.
X
This is a sticky topic.
X
X
-
you don't need to shut down HS4 but custom.css and hs.css would need to be copied.
This is a list of style sheets used by the legacy pages:
Code:<link rel="stylesheet" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/js-listbox-style.css"]/css/js-listbox-style.css[/URL]" type="text/css" /> <link rel="stylesheet" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/jquery.ui.timepicker.css"]/css/jquery.ui.timepicker.css[/URL]" type="text/css" /> <link href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/jqueryFileTree.css"]/css/jqueryFileTree.css[/URL]" rel="stylesheet" type="text/css" media="screen" /> <link href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/jPicker-1.1.6.css"]/css/jPicker-1.1.6.css[/URL]" rel="stylesheet" type="text/css" media="screen" /> <link rel="stylesheet" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/jquery-multiselect.css"]/css/jquery-multiselect.css[/URL]" type="text/css" /> <link href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/fileuploader.css"]/css/fileuploader.css[/URL]" rel="stylesheet" type="text/css" media="screen" /> <link rel="stylesheet" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/tabs.css"]/css/tabs.css[/URL]" type="text/css" /> <link rel="stylesheet" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/tabs-panes.css"]/css/tabs-panes.css[/URL]" type="text/css" /> <link rel="stylesheet" type="text/css" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/menu_black.css"]/css/menu_black.css[/URL]" media="screen" /> <link type="text/css" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/ui-lightness/jquery-ui-1.10.3.custom.min.css"]/css/ui-lightness/jquery-ui-1.10.3.custom.min.css[/URL]" rel="stylesheet" /> <link type="text/css" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/hs.css"]/css/hs.css[/URL]" rel="stylesheet" /> <link type="text/css" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/Custom.css"]/css/Custom.css[/URL]" rel="stylesheet" />
Comment
-
One of the issues he is facing is that the old deviceutility page has a header bar and home button, however its tabs sub page does not. Therefore if the page is adjusted for the main page, the tabs are subsequently hidden in the iframe I use. Resolution is to add the header bar & home button to the tabs page.....
Comment
-
Originally posted by Cor View PostI am running HS4 4.0.4.0 on a RPi4 (Buster) and installed the Jon00Links. The Legacy tools run fine, but if I run the Utility -> Jon Links Setup then I get a compiler error on the screen, there is no message in the log file though. Using the direct way via the Homeseer web browser yields the same result. I am running mono version 6.8.0.105.
To get aspx running on the RPi4 I changed the /usr/bin/vbnc file some time ago, when HS3 was still running. This now looks like:
#!/bin/bash
for x; do
if [[ $x = '/tmp'* ]]; then
sed -i '1{/#Externa/d}' $x
fi
done
exec /usr/bin/mono --debug $MONO_OPTIONS /usr/lib/mono/4.5/vbnc.exe "$@"
This is the message on the setup screen:
System.Web.Compilation.CompilationException
VBNC99999: Unexpected error: Failed to resolve assembly: 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) [0x00148] in <d09141d3f5fa48279a3587e2a3dc5812>:0
at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00008] in <d09141d3f5fa48279a3587e2a3dc5812>:0
at Mono.Cecil.DefaultAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00031] in <d09141d3f5fa48279a3587e2a3dc5812>:0
at vbnc.CecilHelper.FindDefinition (Mono.Cecil.AssemblyNameReference name) [0x0000b] in <f876931f1ce142b590f8f6e2605066f5>:0
at vbnc.CecilHelper.FindDefinition (Mono.Cecil.TypeReference type) [0x00089] in <f876931f1ce142b590f8f6e2605066f5>:0
at vbnc.Helper.CompareType (Mono.Cecil.TypeReference t1, Mono.Cecil.TypeReference t2) [0x006e8] in <f876931f1ce142b590f8f6e2605066f5>:0
at vbnc.CecilHelper.IsDefined (Mono.Collections.Generic.Collection`1[T] CustomAttributes, Mono.Cecil.TypeReference Type) [0x00043] in <f876931f1ce142b590f8f6e2605066f5>:0
at vbnc.Helper.IsModule (vbnc.Compiler Compiler, Mono.Cecil.TypeReference type) [0x00096] in <f876931f1ce142b590f8f6e2605066f5>:0
at vbnc.TypeManager.LoadType (Mono.Cecil.TypeDefinition Type) [0x0003a] in <f876931f1ce142b590f8f6e2605066f5>:0
at vbnc.TypeManager.LoadReferencedTypes () [0x00092] in <f876931f1ce142b590f8f6e2605066f5>:0
at vbnc.TypeManager.LoadReferenced () [0x000ec] in <f876931f1ce142b590f8f6e2605066f5>:0
at vbnc.Compiler.Compile () [0x00258] in <f876931f1ce142b590f8f6e2605066f5>:0
Compilation took 00:00:01.0079510
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
Details: VBNC99999: Unexpected error: Failed to resolve assembly: 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) [0x00148] in <d09141d3f5fa48279a3587e2a3dc5812>:0 at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00008] in <d09141d3f5fa48279a3587e2a3dc5812>:0 at Mono.Cecil.DefaultAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00031] in <d09141d3f5fa48279a3587e2a3dc5812>:0 at vbnc.CecilHelper.FindDefinition (Mono.Cecil.AssemblyNameReference name) [0x0000b] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.CecilHelper.FindDefinition (Mono.Cecil.TypeReference type) [0x00089] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.Helper.CompareType (Mono.Cecil.TypeReference t1, Mono.Cecil.TypeReference t2) [0x006e8] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.CecilHelper.IsDefined (Mono.Collections.Generic.Collection`1[T] CustomAttributes, Mono.Cecil.TypeReference Type) [0x00043] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.Helper.IsModule (vbnc.Compiler Compiler, Mono.Cecil.TypeReference type) [0x00096] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.TypeManager.LoadType (Mono.Cecil.TypeDefinition Type) [0x0003a] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.TypeManager.LoadReferencedTypes () [0x00092] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.TypeManager.LoadReferenced () [0x000ec] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.Compiler.Compile () [0x00258] in <f876931f1ce142b590f8f6e2605066f5>:0
Compilation took 00:00:01.0079510
Error origin: Compiler
Error source file: ~/Global.asax
Exception stack trace:
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00312] in <3871f67f23f64678a82b5d3506d6a5db>:0 at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00008] in <3871f67f23f64678a82b5d3506d6a5db>:0 at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, System.Boolean debug) [0x00202] in <3871f67f23f64678a82b5d3506d6a5db>:0 at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, System.Boolean debug) [0x00106] in <3871f67f23f64678a82b5d3506d6a5db>:0
Does it make sens to anyone?
---
Cor
Comment
-
Originally posted by rjh View PostMake sure you clear the cache in your browser (all files and images). It maybe be picking up old styles. One quick way to verify is to try another browser that you have not used in while, see if it displays ok.
Comment
-
Originally posted by Cor View PostYes, this is resolved. The trick is to change the /usr/bin/vbnc file.
I changed it here in:
Code:exec /usr/bin/mono --gc-params=nursery-size=64m $MONO_OPTIONS /usr/lib/mono/4.5/vbc.exe "$@"
---
Cor
Comment
Comment