• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login

Final 1.0.0 errors and crash report....

Scheduled Pinned Locked Moved Troubleshooting
mysgw
40 Posts 4 Posters 11.5k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    jkandasa @skywatch
    last edited by 1 Nov 2017, 16:19

    @skywatch Looks like your database corrupted. You may need to restore from your backup.

    1 Reply Last reply Reply Quote 0
    • S Offline
      skywatch
      last edited by 1 Nov 2017, 16:48

      I can't get a http connection so how to do this manually? The api only shows how to do it from the console and I cannot access that at all!

      Thanks

      J T 2 Replies Last reply 1 Nov 2017, 17:47 Reply Quote 0
      • J Offline
        jkandasa @skywatch
        last edited by 1 Nov 2017, 17:47

        @skywatch do a fresh installation. then restore from your backup

        1 Reply Last reply Reply Quote 0
        • T Offline
          Tag MOD @skywatch
          last edited by Tag 11 Feb 2017, 01:53 1 Nov 2017, 18:09

          @skywatch

          I looked at the data base backup, it seems to be one giant sql file....
          (it is a zip in the backup zip file, you can extract it with the unzip command)

          Still wondering why your database can get corrupted, it might be that if you restore your database, you restore the corruption also. Just for testing purpouses, you could start with a completely fresh install.

          • Are you 100% sure that the medium you use (sdcard/harddrive) is in good condition?
          • Which version of Java are you using? (I use the oracle one and that works fine)
          1 Reply Last reply Reply Quote 0
          • S Offline
            skywatch
            last edited by 1 Nov 2017, 22:18

            @jkandasa

            Now I feel stupid! 😉

            @Tag

            Media was new for this project and passed h2testw no issues (sandisk)...

            Java is.....

             apt list --installed | grep java
            
            WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
            
            java-common/oldstable,now 0.52 all [installed]
            javascript-common/oldstable,now 11 all [installed,automatic]
            libhsqldb1.8.0-java/oldstable,now 1.8.0.10+dfsg-3 all [installed,automatic]
            libjavascriptcoregtk-3.0-0/stable,now 1:2.4.1-1rpi53rpi1g armhf [installed,automatic]
            libreoffice-java-common/stable,now 1:4.3.3-2+rpi4 all [installed]
            libservlet2.5-java/oldstable,now 6.0.45+dfsg-1~deb8u1 all [installed]
            oracle-java8-jdk/stable,now 8u65 armhf [installed]
            

            So looks OK to me.

            Back running on backup image again and will see what happens. The 240v is from a filtered and spike protected distribution, nothing else power from this has any problem. Maybe I'll swap out the 5V 3A psu and see if that helps, but I don't think that is the issue here.

            T 1 Reply Last reply 2 Nov 2017, 07:10 Reply Quote 0
            • T Offline
              Tag MOD @skywatch
              last edited by Tag 11 Feb 2017, 12:43 2 Nov 2017, 07:10

              @skywatch

              Dont feel stupid, not asking is stupid 🙂

              So we assume the media is okay, good!!

              Looking into java...seems your java is a bit older... 8u65, below is the version I use..

              apt list --installed | grep java
              
              WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
              
              java-common/oldstable,now 0.52 all [installed,automatic]
              oracle-java8-installer/xenial,now 8u151-1~webupd8~0 all [installed]
              

              Some time ago i created this topic about java on the RPI
              It would be intersting to see how the issue evolves if you update to the latest java version...

              1 Reply Last reply Reply Quote 0
              • S Offline
                skywatch
                last edited by 2 Nov 2017, 11:05

                @Tag
                Thanks for the response. Good idea, although I update/upgrade the pi often I guess if apt doesn't install it then it doesn't know to update it!
                I have upgraded and now have....

                 $ apt list --installed | grep java
                
                WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
                
                java-common/oldstable,now 0.52 all [installed]
                javascript-common/oldstable,now 11 all [installed,automatic]
                libhsqldb1.8.0-java/oldstable,now 1.8.0.10+dfsg-3 all [installed,automatic]
                libjavascriptcoregtk-3.0-0/stable,now 1:2.4.1-1rpi53rpi1g armhf [installed,automatic]
                libreoffice-java-common/stable,now 1:4.3.3-2+rpi4 all [installed]
                libservlet2.5-java/oldstable,now 6.0.45+dfsg-1~deb8u1 all [installed]
                oracle-java8-jdk/stable,now 8u65 armhf [installed]
                

                @jkandasa

                May I suggest it would be a good idea to add to the documentation @tags java upgrade instructions with a reminder to check this manually at regular intervals? - It might help reduce the number of suport requests.

                You guys are brilliant! 🙂

                1 Reply Last reply Reply Quote 0
                • S Offline
                  skywatch
                  last edited by 2 Nov 2017, 16:30

                  Hmmmm.....Seems that after d/l and un-packing and installing the new '151' java I still show 8u65......

                  On config I get a choice as below....

                  There are 3 choices for the alternative javac (providing /usr/bin/javac).
                  
                    Selection    Path                                                Priority   Status
                  ------------------------------------------------------------
                    0            /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/bin/javac   318       auto mode
                    1            /opt/jdk1.8.0_131/bin/javac                          1         manual mode
                  * 2            /opt/jdk1.8.0_151/bin/javac                          1         manual mode
                    3            /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/bin/javac   318       manual mode
                  
                  Press enter to keep the current choice[*], or type selection number:
                  

                  I choose '2' and yet still don't see 151....any ideas?

                  J 1 Reply Last reply 2 Nov 2017, 17:31 Reply Quote 0
                  • J Offline
                    jkandasa @skywatch
                    last edited by 2 Nov 2017, 17:31

                    @skywatch What is the result of java -version command?

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      skywatch
                      last edited by skywatch 11 May 2017, 16:25 2 Nov 2017, 17:33

                      Haha - Just as I finished trying again with '152' this time....now I get....

                      /opt $  java -version
                      java version "1.8.0_152"
                      Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
                      Java HotSpot(TM) Client VM (build 25.152-b16, mixed mode)
                      pi@HAMASS:/opt $ javac -version
                      javac 1.8.0_152
                      

                      But....

                      pi@HAMASS:/opt $  apt list --installed | grep java
                      
                      WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
                      
                      java-common/oldstable,now 0.52 all [installed]
                      javascript-common/oldstable,now 11 all [installed,automatic]
                      libhsqldb1.8.0-java/oldstable,now 1.8.0.10+dfsg-3 all [installed,automatic]
                      libjavascriptcoregtk-3.0-0/oldstable,now 1:2.4.1-1rpi53rpi1g armhf [installed,automatic]
                      libreoffice-java-common/oldstable,now 1:4.3.3-2+rpi4 all [installed]
                      libservlet2.5-java/oldstable,now 6.0.45+dfsg-1~deb8u1 all [installed]
                      oracle-java8-jdk/oldstable,now 8u65 armhf [installed]
                      

                      So confusing, no?

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        skywatch
                        last edited by skywatch 11 May 2017, 16:23 5 Nov 2017, 10:52

                        So on Friday I moved the sd card to a pi3 and attached the gw and rtc to that. So far no problems. Maybe it was the older Java, maybe it was the pi2. The reason for the move is to try and avoid problems with the sd card by having it boot directly from usb. I have not decided whether to use a spare usb stick or to go for a pi drive, I'll look into options more this week I hope.

                        Thanks for the support gents!

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          Tag MOD
                          last edited by 5 Nov 2017, 11:37

                          Good!, Welcome!
                          Hope the issues are fixed now! 👍

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            skywatch
                            last edited by 7 Nov 2017, 16:53

                            @Tag
                            See update here....

                            https://forum.mycontroller.org/topic/224/booting-rpi3-mycontroller-from-usb-only

                            1 Reply Last reply Reply Quote 0
                            37 out of 40
                            • First post
                              37/40
                              Last post

                            0

                            Online

                            626

                            Users

                            532

                            Topics

                            3.4k

                            Posts
                            Copyright © 2015-2025 MyController.org | Contributors | Localization