Open EmranMR opened 4 months ago
I would check that the the environment value of FIG_SET_PARENT
on the macOS side matches the value of the env var FIG_PARENT
on the Linux side. If these don't match up then the app will not be able to connect to the correct socket.
It also looks like the Linux CLI version is a few versions behind, would try to update that.
@grant0417 Thanks for the reply, I uninstalled and installed again, following the documentations from your website. I am still getting the version 2.15.0
on my ubuntu.. Is there a way to force and install a specific version in this case 2.17.1
I also double checked the diagnostics
after reinstalling the Fig Integration. As you noted, the FIG_SET_PARENT
and FIG_PARENT
are still not matching.... Can I manually change my remote to match the local machine?
I also get the following error whenever I install the integration on the remote machine. I dont think this has any significance but I just thought to share with you.
Thanks Emran :)
0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.
Need to get 80.5 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://repo.fig.io/apt stable/main amd64 fig-headless amd64 2.15.0 [80.5 MB]
Fetched 80.5 MB in 2s (40.2 MB/s)
Selecting previously unselected package fig-headless.
(Reading database ... 234651 files and directories currently installed.)
Preparing to unpack .../fig-headless_2.15.0_amd64.deb ...
Unpacking fig-headless (2.15.0) ...
Setting up fig-headless (2.15.0) ...
Installing integrations
Installing dotfiles integration
Installed!
Installing daemon integration
Installed!
Installing ssh integration
Installed!
✨ Fig has been installed ✨
Fig had an Error!: No such file or directory (os error 2)
error: Already logged in as xxx@xxx.xxx , please logout first.
Checks
fig doctor
in the affected terminal sessionfig restart
and replicated the issue againOperating system
Ubuntu 22 and MacOS
Expected behaviour
I should be able to install ssh integration on macOS and remote Ubuntu and be able to receive autocompletion
Actual behaviour
I do not get autocompletion, the fig doctor outputs an error that there are no socket. I digged in to the log files and apparently it is a permission issue I do not know how to fix.
Doctor on sshed remote Machine
.fig
andfig
folder in thetmp
still persists (both local and remote)output from
/tmp/fig/xxx/logs/figterm_dev_pts_13.log
(remote machine)Note that I can see MANY sockets when I
ls
inside my/var/tmp
so not sure what is going onSteps to reproduce
To reproduce simply follow instructions in the manual for ssh integration Once done run fig doctor and you get an error.
Environment
MacOS
Diagnostics:
Doctor