• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Upgrading to MM 2.6.0

Scheduled Pinned Locked Moved Unsolved Troubleshooting
4 Posts 4 Posters 1.5k Views 3 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.
  • B Offline
    blebbens
    last edited by Jan 6, 2019, 1:48 PM

    Hi,

    started my MM after several months not using it.
    At first I executed sudo apt update && sudo apt upgrade -y.

    The following error occurred:

    Konfigurationsdatei »/etc/xdg/lxsession/LXDE-pi/autostart«
     ==> Geändert (von Ihnen oder von einem Skript) seit der Installation.
     ==> Paketverteiler hat eine aktualisierte Version herausgegeben.
       Wie möchten Sie vorgehen? Ihre Wahlmöglichkeiten sind:
        Y oder I : Die Version des Paket-Betreuers installieren
        N oder O : Die momentan installierte Version beibehalten
           D     : Die Unterschiede zwischen den Versionen anzeigen
           Z     : Eine Shell starten, um die Situation zu begutachten
     Der Standardweg ist das Beibehalten der momentanen Version.
    *** autostart (Y/I/N/O/D/Z) [Vorgabe=N] ? N
    Neue Version der Konfigurationsdatei /etc/xdg/lxsession/LXDE-pi/desktop.conf wird installiert ...
    Neue Version der Konfigurationsdatei /etc/xdg/menus/lxde-pi-applications.menu wird installiert ...
    Openbox-Message: Konnte das Display aus der Umgebungsvariable DISPLAY nicht öffnen.
    The desktop has been updated.
    Some obsolete configuration files have been removed and backed up in ~/oldconffiles.
    To apply the updates, please reboot your Pi, and then select one of the options on the Defaults page in Appearance Settings.
    Unable to init server: Verbindung ist gescheitert:Verbindungsaufbau abgelehnt
    
    (zenity:26783): Gtk-WARNING **: cannot open display: 
    Removing obsolete conffile /etc/xdg/lxpanel/profile/LXDE-pi/panels/panel ...
    Removing obsolete conffile /etc/xdg/lxpanel/profile/LXDE-pi/config ...
    Removing obsolete conffile /etc/xdg/lxsession/LXDE-pi/autokey.sh ...
    

    Later I tried to update MM to 2.6 using git pull && npm install, but I got the error:
    “fatal: Kein Git-Repository (oder irgendein Elternverzeichnis): .git”

    What went wrong ?

    1 Reply Last reply Reply Quote 0
    • J Offline
      JevanHa
      last edited by Jan 7, 2019, 11:51 AM

      Hello biebbens,
      Did you run it in your MagicMirror directory ?
      Regards Jan

      1 Reply Last reply Reply Quote 0
      • B Offline
        Binog
        last edited by Feb 12, 2019, 2:17 PM

        @blebbens said in Upgrading to MM 2.6.0:

        Did you run it in your MagicMirror directory ?

        yep. do have the same problem.
        it may be permission related, how to reset permissions to default in MagicMirror directory?

        C 1 Reply Last reply Feb 12, 2019, 2:35 PM Reply Quote 0
        • C Offline
          Cr4z33 @Binog
          last edited by Feb 12, 2019, 2:35 PM

          @binog if you don’t want to wait any longer backup your ‘modules’ folder, the config and delete the whole MagicMirror directory.

          When you reinstall you will have the latest version (remember to restore then your backups).

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy