Updated from 0.98 to 1.0.2. RPi Touchscreen issues

I just updated my RPi Image from 0.98 to 1.0.2, and my home screen after reboot shows almost all the gadgets. No WebCam, and the new Change Filiment is just words, no Icon. But the worst is when I click any button, such as settings, I can no longer get back to the HOME screen. (The HOME Button on the left) only shows me Move and Files. I have to reboot the RPi to get the previous home screen.

My Remote control still works on my phone and PC.. but not the TouchUI. (Official RPi 7" Touchscreen using the Display Port.

Comments

  • Did you update the pi image or upgrade the installed server version? 
    Just tested with fresh sd card fro image and it worked. Only thing I noticed was that printer icon causes a problem when you have no printers configured. Adding a printer made that page also work again.

    As long as you have no users defined you can also get the interface on your browser with this link:
    http://192.168.1.131:3344/modules/front2/app/app.html/

    Adjust ip of course. Please try if it works eventually reload while developer tools in browser are open (right click inspect element). And go to console or network after a reload while dev tools were active to see if you failed loading a file or got an error.

    I also checked the sha1sums in /usr/local/Repetier-Server/www/modules/front2/app folder

    root@RepetierServer:/usr/local/Repetier-Server/www/modules/front2/app# sha1sum *
    d73d3c2b8cdfcdce935467145e9b786b77fd6668  3rdpartylicenses.txt
    3c775b6db7adfbc3900b4e2bb31d076f7c032388  app.html
    6da6b5649ab413fe767d0c0b06e603cdff8455bb  main-es2015.js
    057953a21c97e1ce6b99fe7010156eea3c44408d  main-es5.js
    8779ed8d9bf0580e1b50b352a9b8fd520be24433  polyfills-es2015.js
    7da30f29191dbb0c36516430fbd717a39765c3a0  polyfills-es5.js
    a9aafcf49f49145093fc831efd9b8e2f6c71bb9c  runtime-es2015.js
    a9aafcf49f49145093fc831efd9b8e2f6c71bb9c  runtime-es5.js

    These are what make the interface. You can verify if you have same checksums or if there was a defect so they got modified.

  • I used the UPDATE inside of Repetier to do the upgrade. 

    Hrmm.. trying to figure out how to call that page from onboard the Pi, It's embedded into my CNC Mill control box. (And it is protected from external access on port 3344)

    I will need to take my rig apart to get to the USB for keyboard and mouse.

    My checksums seem ok

    pi@Repetier-Server:/usr/local/Repetier-Server/www/modules/front2/app$ sha1sum *
    d73d3c2b8cdfcdce935467145e9b786b77fd6668  3rdpartylicenses.txt
    3c775b6db7adfbc3900b4e2bb31d076f7c032388  app.html
    6da6b5649ab413fe767d0c0b06e603cdff8455bb  main-es2015.js
    057953a21c97e1ce6b99fe7010156eea3c44408d  main-es5.js
    8779ed8d9bf0580e1b50b352a9b8fd520be24433  polyfills-es2015.js
    7da30f29191dbb0c36516430fbd717a39765c3a0  polyfills-es5.js
    a9aafcf49f49145093fc831efd9b8e2f6c71bb9c  runtime-es2015.js
    a9aafcf49f49145093fc831efd9b8e2f6c71bb9c  runtime-es5.js
  • And I only have me as a user, it's a dedicated controller for my CNC Mill. (MPCNC) So starting over is not the end of the world if it went south.

  • edited January 2021
    OK, I did an SSH Port Forward to my PC for 3344, the home page loaded, then I went to SETTINGS. It loaded. Then I hit the HOME icon on the left. It came up with just the two entries, but the Chrome Debugger only showed the Fav.icon accessed, nothing else attempted. I hit F5 to refresh, then the original page loaded just fine. 

    Hrmm.. Hard to debug when nothing is tried? 

    The Pi in Kiosk mode doesn't have a refresh. Maybe the new version on a fresh image updates other components that help with the KIOSK Browser?
  • edited January 2021
    Going to try updating the raspbian OS underneath..


    The following packages will be upgraded:
      apt apt-transport-https apt-utils base-files bind9-host ca-certificates curl dbus dns-root-data e2fslibs e2fsprogs file gettext-base glib-networking glib-networking-common glib-networking-services
      libapt-inst2.0 libapt-pkg5.0 libasound2 libasound2-data libbind9-140 libcomerr2 libcups2 libcurl3 libcurl3-gnutls libdbus-1-3 libdns-export162 libdns162 libexpat1 libfreetype6 libfreetype6-dev libgd3
      libglib2.0-0 libglib2.0-data libgnutls30 libgssapi-krb5-2 libicu57 libidn11 libisc-export160 libisc160 libisccc140 libisccfg140 libjpeg62-turbo libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2
      libldap-common libluajit-5.1-common liblwres141 libmagic-mgc libmagic1 libnghttp2-14 libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip
      libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnss3 libobrender32v5 libobt2v5
      libp11-kit0 libpam-systemd libperl5.24 libpng-dev libpng-tools libpng16-16 libproxy1v5 libpython2.7-minimal libpython2.7-stdlib libpython3.5-minimal libpython3.5-stdlib libraspberrypi-bin
      libraspberrypi-dev libraspberrypi-doc libraspberrypi0 librsvg2-2 librsvg2-common libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libss2 libssh2-1 libssl1.0.2 libssl1.1 libsystemd0 libtiff5
      libtimedate-perl libudev1 libx11-6 libx11-data libx11-xcb1 libxml2 libxslt1.1 luajit nfs-common nginx nginx-common nginx-full openbox openssh-client openssh-server openssh-sftp-server openssl patch perl
      perl-base perl-modules-5.24 ppp python-apt-common python2.7 python2.7-minimal python3-apt python3.5 python3.5-minimal raspberrypi-bootloader raspberrypi-kernel raspi-config rsync ssh sudo systemd
      systemd-sysv tzdata udev unzip usbutils vim vim-common vim-runtime wget xdg-utils xxd
    139 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

    chromium-browser is being kept back, I assume
     by design of the image?
  • Please check /home/pi/.config/openbox/autostart
    In older images it started /modules/front2/www/app.html but no wit should start /modules/front2/app/app.html
    The starting line in autostart should now look like this:

    chromium-browser --force-device-scale-factor=1 --disable-features=TranslateUI --app-auto-launched --disable-pinch --incognito --noerrdialogs --disable-suggestions-service --disable-translate --disable-save-password-bubble --disable-session-crashed-bubble --disable-infobars --touch-events=disabled --disable-gesture-typing --kiosk --check-for-update-interval=31536000 --app=http://127.0.0.1:3344/modules/front2/app/app.html &

    Maybe that difference is causing the problems, also in my test I get it redirected to the correct app folder.

    If you try to install new image, you can make a backup with Repetier-Server Monitor, see
    https://www.repetier-server.com/knowledgebase/backup-restore/
    so you won't loose any configs.
  • Ahhh, I have this:

    pi@Repetier-Server:~$ cat /home/pi/.config/openbox/autostart
    # Uncomment the following 3 commands to have display always on
    #xset s off         # don't activate screensaver
    #xset -dpms         # disable DPMS (Energy Star) features.
    #xset s noblank     # don't blank the video device

    chromium-browser  --incognito --noerrdialogs --disable-suggestions-service --disable-translate --disable-save-password-bubble --disable-session-crashed-bubble --disable-infobars --touch-events=enabled --disable-gesture-typing --kiosk http://127.0.0.1:3344/modules/front2/www/app.html


  • I altered the autostart, no change in behavior. Initial home screen comes up, drop into settings, then hit the HOME button and I get the same two icons, not the full home screen.

    Meh, rebuild time I guess :-D
  • Successful install of repetier Monitor, server backed up, got 1.0.2 Raspberry Pi Image. I am off to image a new SD-Card :-D

  • Oh Dear.... New flashed disk, attached to wifi, restored everything from my back up. It brought the issue back :-(
  • Tried just restoring Printers and my Printer Definition (not users and settings) and same result.. Corrupted home button.

  • edited January 2021
    OK, something is broken. I re-imaged my SD Card fresh. Added my SSID and License key via the PC's Web Browser. Rebooted.

    Went into settings on the touch screen, and back out. Works.

    Manually created my printer only from screenshots. (Marlin, 250000 Baud) and walked through the wizard. 

    Rebooted and it came up into my printer as it usually does. Went into settings, then hit the HOME button again, broken 2 item menu.

    Bummer. I be broken on the touch screen. My iPhone as a pendant works. I can move my Mill around the spoilboard. Looks like something is not happy with the Printer once one is defined.

    Ideas?
  • See PM. Works with my configs so I'd like to have the config making it fail to test what is going on.
Sign In or Register to comment.