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.

    update-script.sh hangs after "saving custom.css"

    Scheduled Pinned Locked Moved Solved Troubleshooting
    14 Posts 2 Posters 2.1k 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.
    • X Offline
      xIExodusIx @sdetweil
      last edited by

      @sdetweil Hi,

      I try to send the upgrade log.
      ![upgrade.log.jpg](Input file contains unsupported image format)

      If you recieved it, simply delete “.jpg”

      Otherwise I don’t know how to uploade it.

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @xIExodusIx
        last edited by

        @xIExodusIx here you can only attach pictures.
        you could paste the text into a post, but probably better to attach to an issue on the github repo for the scripts

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        X 1 Reply Last reply Reply Quote 0
        • X Offline
          xIExodusIx @sdetweil
          last edited by

          @sdetweil
          Hi, I’ll give it a try.

          1 Reply Last reply Reply Quote 0
          • X Offline
            xIExodusIx @sdetweil
            last edited by

            @sdetweil

            I Can’t login to GitHub, they sends me confirmation codes to an old inexisting eMail-Address that never arrives. I wrote to the GitHub support, but they dosn’t answer until today.

            I copy the lines. See below

            • false

            • SAVEIFS=’
              ’

            • IFS=’
              ’

            • echo

            • tee -a /home/pi/MagicMirror/installers/upgrade.log

            • ‘[’ -f git_active_lock ‘]’

            • ‘[’ 0 == 1 ‘]’

            • cd /home/pi/MagicMirror

            • cd css

            • ‘[’ -f custom.css ‘]’

            • echo ‘saving custom.css’

            • tee -a /home/pi/MagicMirror/installers/upgrade.log
              saving custom.css

            • cp -p custom.css save_custom.css

            • cd -
              ++ alias git

            • save_alias=
              ++ git branch
              ++ cut -d ’ ’ -f2
              ++ grep ‘*’

            • current_branch=master

            • ‘[’ master ‘!=’ master ‘]’

            • remote_user=MagicMirrorOrg
              ++ LC_ALL=C
              ++ git remote -v
              ++ grep -m1 .com/M
              ++ awk ‘{print $1}’

            • remote=origin

            • ‘[’ origin == upstream ‘]’
              ++ grep -m1 origin
              ++ git remote -v
              ++ awk -F/ ‘{print $4}’

            • ‘[’ MagicMirrorOrg == MichMich ‘]’

            • ‘[’ origin. ‘!=’ . ‘]’

            • echo remote name = origin
              ++ grep -m1 version
              ++ awk ‘-F"’ ‘{print $4}’
              ++ awk -F- ‘{print $1}’

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @xIExodusIx
              last edited by

              @xIExodusIx well, that makes no sense.

              there are at least 8 more easy commands after that one.
              the last one just wrote to the log

              is your disk space almost full?

              do
              df -k

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              X 4 Replies Last reply Reply Quote 0
              • X Offline
                xIExodusIx @sdetweil
                last edited by

                @sdetweil
                I’m now able again to login to GitHub. now I can send you the update.log if you still need it.

                1 Reply Last reply Reply Quote 0
                • X Offline
                  xIExodusIx @sdetweil
                  last edited by

                  @sdetweil

                  No, the Pi starts from an USB-Stick with 64GB and it is freshly installed ther must be enough space left.

                  1 Reply Last reply Reply Quote 0
                  • X Offline
                    xIExodusIx @sdetweil
                    last edited by

                    @sdetweil

                    df -k shows:

                    Filesystem 1K-blocks Used Available Use% Mounted on
                    udev 1667704 0 1667704 0% /dev
                    tmpfs 388200 1444 386756 1% /run
                    /dev/sda2 61387080 7699368 50549572 14% /
                    tmpfs 1940984 34100 1906884 2% /dev/shm
                    tmpfs 5120 16 5104 1% /run/lock
                    /dev/sda1 522230 77064 445166 15% /boot/firmware
                    tmpfs 388196 40 388156 1% /run/user/1000

                    1 Reply Last reply Reply Quote 0
                    • X Offline
                      xIExodusIx @sdetweil
                      last edited by

                      @sdetweil

                      I send you the upgrade.log in GitHuB.

                      I hope this will help.

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @xIExodusIx
                        last edited by

                        @xIExodusIx thanks i replied there.

                        i do not know yet. i am away from my system the rest of the day. i would not try anything else, just let MagicMirror run.

                        if you have the update message . you can disable the updatenotification module in config .js

                        add
                        disabled:true,

                        after the module: line

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @sdetweil
                          last edited by

                          bug in my script, fixed.

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • S sdetweil has marked this topic as solved on

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 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