Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AppImage does not work due to trying to modify its read-only filesystem

See original GitHub issue


Running the AppImage starts up a browser window, but it can’t connect to the backend because the server appears to crash. The server crashes because it tries to create ./sessions, but I guess it is inside the read-only AppImage filesystem when it does that and the attempt to make the directory fails.

Gtk-Message: Failed to load module "overlay-scrollbar"
2018-04-28T03:10:23.628Z - info: init Loading configuration from "/z/home/anovak/.cncrc"
Error: EROFS: read-only file system, mkdir './sessions'
    at Object.fs.mkdirSync (fs.js:891:18)
    at appMain (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/app/index.js:10595:22)
    at server (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/app/index.js:7316:38)
    at /tmp/.mount_cncjs-gAlZxJ/app/resources/app/node_modules/webappengine/dist/app/app.multihost.js:132:25
    at Array.forEach (<anonymous>)
    at Object.appMain [as default] (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/node_modules/webappengine/dist/app/app.multihost.js:97:31)
    at createServer (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/node_modules/webappengine/dist/app/server.js:62:49)
    at serverMain (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/node_modules/webappengine/dist/app/server.js:114:9)
    at createServer (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/node_modules/webappengine/dist/app/index.js:57:33)
    at module.exports (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/node_modules/webappengine/index.js:13:12)
    at Object.createServer (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/app/index.js:7320:32)
    at /tmp/.mount_cncjs-gAlZxJ/app/resources/app/cnc.js:100:26
    at Promise (<anonymous>)
    at F (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/node_modules/core-js/library/modules/_export.js:35:28)
    at cnc (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/cnc.js:96:12)
    at _callee$ (/tmp/.mount_cncjs-gAlZxJ/app/resources/app/main.js:94:50)
2018-04-28T03:10:24.050Z - error: The multi-host server does not exist: {
    "type": "server",
    "route": "/"
}     at /tmp/.mount_cncjs-gAlZxJ/app/resources/app/node_modules/webappengine/dist/app/app.multihost.js:138:27 id=0, pid=22251
2018-04-28T03:10:24.077Z - info: init Starting the server at


How Do You Install CNCjs?

  • NPM
  • Download the CNCjs Desktop Application

CNC Controller

  • Grbl
  • Smoothieware
  • TinyG/g2core


  • Raspberry Pi
  • Desktop or Laptop
  • Mobile Device

Operating System

  • Not Applicable
  • Windows
  • Mac
  • Linux (Ubuntu 17.10)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

chetoncommented, Jul 5, 2018

Fixed in PR #348

You can try the prebuilt binary and let me know the result:

chetoncommented, Mar 7, 2019

Fixed in 1.9.16

Read more comments on GitHub >

github_iconTop Results From Across the Web

20.04 - Can't run AppImage on desktop by doubleclicking ...
Solution 1 : Right Click On The Appimage File And Go In Properties. enter image description here. Then Go In Permissions.
Read more >
Investigate bubblewrap for sandboxing · Issue #152
To run an AppImage in a read-only sandbox so that it can only write to ... AppImage # FUSE-mounting does not seem to...
Read more >
Running AppImages
This page shows how a user can run AppImages, on their favorite distribution using the desktop environment tools or via the terminal. Also,...
Read more >
Failed to write entry … read-only file system ... EXT-FS Error
then run update-grub , just reboot to have your ext4 file system fixed ... Since your BIOS is up-to-date, we can do nothing...
Read more >
How can I extract files from an AppImage?
First, look if your AppImage file is using the newest version of its internal format: /path/to/your.AppImage --appimage-help.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found