RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Errors logged to /tmp/runcommand.log ...OK ... WHERE?

    Scheduled Pinned Locked Moved Help and Support
    12 Posts 7 Posters 26.4k Views
    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.
    • mediamogulM
      mediamogul Global Moderator
      last edited by

      I would have suggested to “wait for a soul with a red crystal on Deborah Cliff”, but I didn't want to get punched.

      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

      1 Reply Last reply Reply Quote 0
      • Z
        Zigurana
        last edited by

        I just want to add that there are a lot of error situations that actually do not result in anything being written to that particular log file.
        I think it just pertains to any error that occurs during the runcommand script. Errors after that (occuring in RetroArch for instance) will not be included there.

        If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

        dankcushionsD 1 Reply Last reply Reply Quote 0
        • dankcushionsD
          dankcushions Global Moderator @Zigurana
          last edited by

          @Zigurana said in Errors logged to /tmp/runcommand.log ...OK ... WHERE?:

          I just want to add that there are a lot of error situations that actually do not result in anything being written to that particular log file.
          I think it just pertains to any error that occurs during the runcommand script. Errors after that (occuring in RetroArch for instance) will not be included there.

          sure they will :) errors handled by libretro cores are dumped to the console, which the log retains.

          Z 1 Reply Last reply Reply Quote 0
          • Z
            Zigurana @dankcushions
            last edited by

            @dankcushions well, that's good to know. I better check the permissions then, because i have never spotted anything in the logfile.

            If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

            1 Reply Last reply Reply Quote 0
            • B
              brenthunter2005
              last edited by brenthunter2005

              I noticed today after updating Retropie that the runcommand box now says it logs to "/dev/shm/runcommand.log"

              Any idea what that is all about? Can I just edit the /opt/retropie/supplementary/runcommand.sh and change it to /tmp/runcommand.cfg ?

              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators
                last edited by

                What's the problem with the new location ? I moved the log to ram - one less thing to write to the sdcard (plus performance if say there is a log of debug output).

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                B R 2 Replies Last reply Reply Quote 0
                • B
                  brenthunter2005 @BuZz
                  last edited by

                  @BuZz No problem whatsoever, I just didn't understand it. I've done some quick research and now I understand the reasons for moving the log file to that location.

                  Makes perfect sense to me now that I understand it (ie: I'm new to Linux).

                  Thank you.

                  BuZzB 1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators @brenthunter2005
                    last edited by BuZz

                    @brenthunter2005 TBH it won't make much difference probably, and we still unpack zips to the sdcard (That requires more thought to move, as some archives would be a bit large to unpack in memory - at least on some RPI models). I might add a configuration option for that though.

                    I might consider a config to shift system logs into ram also.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    1 Reply Last reply Reply Quote 0
                    • R
                      rulmismo @BuZz
                      last edited by

                      @BuZz

                      I also spent some time yesterday searching for the runcommand.log file looking for some advancemame loading issues.
                      please whenever possible update the documentation so to let clear that it can be in /tmp/ or also in /dev/shm.

                      https://github.com/retropie/retropie-setup/wiki/runcommand

                      Thanks

                      BuZzB 1 Reply Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators @rulmismo
                        last edited by

                        @rulmismo It was moved to /dev/shm quite a long time ago - when launching it states where the log is btw.

                        The wiki is user editable btw. feel free to update if you think this is needed.

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.