Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Terminal Not Working #47

Closed
imperian opened this issue Mar 24, 2015 · 2 comments
Closed

Terminal Not Working #47

imperian opened this issue Mar 24, 2015 · 2 comments

Comments

@imperian
Copy link

I have a mostly working version of c9sdk inside a Docker container, running with an nginx front end to implement ssl. Most everything works, except for the terminal. The terminal window opens to a blank screen with the tab flashing repeatedly between the "x" and a thinking circle.

The javascript console log shows hundreds of "Disregard terminal: devel_604" in tmux_connection.js line 202. This number increases rapidly whenever a terminal window is open. This is true on Chrome, Safari, and Firefox

The strange thing is that sometimes when I change my home or workspace directories, it suddenly works, but not consistently. For example, I changed my home and workspace directories to /workspace and it worked, I changed them back to the default (/ and /c9) and it didn't work, then I changed them back to /workspace and it still didn't work. No change other than the home and workspace directories were made.

Any thoughts as to where to track this down?

@nightwing
Copy link
Member

this can happen if tmux or other dependencies from ~/.c9 are missing.
Do you see any errors when running ./scripts/install-sdk.sh, or do you change home directory after running the script?

@imperian
Copy link
Author

Ah, I hadn't realized that was being installed in the home directory. Docker mounted a new home directory after installation so that the user.settings file could be maintained across docker remakes. This effectively wiped out anything put into the home directory during build. As most of c9sdk wasn't being put into the home directory, it seemed to work just fine other than the terminal. It works now, although I'll need to think about how to maintain the user.settings files across docker containers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants