Local Community

Installing Runs Forever


1 Like

TablePlus and Notes

Yes for me also. All the plugins get stuck at installing. I am running Local on Ubuntu 20.04.

I am also unable to install any addons on Fedora 40. Someone help, please!

Same issue here. I usually find problems like this are caused by insufficient permissions. Does anyone know where the plug-ins are kept on the local filesystem?

I figured out the error by running local from the terminal.

7/24/2021, 12:57:10 PM [warn] [main] undefined: Unhandled Rejection. – {“reason”:{“errno”:-18,“syscall”:“rename”,“code”:“EXDEV”,“path”:"/tmp/local-mlfkOt-OG/package",“dest”:"%%userDataPath%%/addons/@getflywheel-local-addon-instant-reload"},“p”:{}}

I don’t know what does it mean. If someone knows about this error then resolving it will solve our problem.

So here is the solution. I am using Ubuntu based distro called Zorin OS 16. So I think it will be the same for all Ubuntu based distros.

Step 1:

Open terminal and type:

# Change into the Local installation directory
cd /opt/Local
# Run Local

Step 2
Download the addon and keep checking the terminal. Once you see a message like the following:

7/24/2021, 12:57:10 PM [warn] [main] undefined: Unhandled Rejection. – {“reason”:{“errno”:-18,“syscall”:“rename”,“code”:“EXDEV”,“path”:"/tmp/local-mlfkOt-OG/package",“dest”:"%%userDataPath%%/addons/@getflywheel-local-addon-instant-reload"},“p”:{}}

From this error notice the temporary directory where the addon got downloaded. In my case it was /tmp/local-mlfkOt-OG/package. Go to this directory and copy all the contents.

Step 3
Go to your home folder and press CTRL+H to display hidden files.

Go to the .config/Local/addons folder and create a directory called @getflywheel-local-addon-instant-reload (In my case the addon was instant reload. If your addon is a different one then you can copy its name from the error message).

Go into the newly created @getflywheel-local-addon-instant-reload directory and paste all the contents that you copied from the /tmp/local-mlfkOt-OG/package directory.

That’s it! Now open Local and click on Add-ons and check the installed tab. Your add-on will appear there. Turn it ON and restart local and it will work.

1 Like

Thanks for replying with what you’ve done to fix this!

For others that have problems installing add-ons, I’d be curious what OS you’re using as well as have a copy of the Local log. See this Community Forum post for instructions on how to do so:

I was using Zorin OS 16 Beta, which is based on Ubuntu 20.04. Unfortunately, I can’t reproduce the error or provide the Local log, as I have switched my operating system to Windows.

I experienced the same issue and used the same solution. The relevant logs look like this:

7/30/2021, 2:29:59 PM [info] [main] AddonInstallerService: Installing Add-on 'Instant Reload' release '[object Object]'
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: EXDEV: cross-device link not permitted, rename '/tmp/local-m94Dp3SRg/package' -> '/home/patrick/.config/Local/addons/@getflywheel-local-addon-instant-reload'
    at Object.renameSync (fs.js:772:3)
    at Object.moveSync [as sync] (/opt/Local/resources/app.asar/node_modules/fs-jetpack/lib/move.js:27:8)
    at Object.move (/opt/Local/resources/app.asar/node_modules/fs-jetpack/lib/jetpack.js:179:12)
    at AddonInstallerService.<anonymous> (/opt/Local/resources/app.asar/main/addons/AddonInstallerService.js:1:7767)
    at Generator.next (<anonymous>)
    at d (/opt/Local/resources/app.asar/main/addons/AddonInstallerService.js:1:132)
7/30/2021, 2:30:18 PM [warn] [main] undefined: Unhandled Rejection. -- {"reason":{"errno":-18,"syscall":"rename","code":"EXDEV","path":"/tmp/local-m94Dp3SRg/package","dest":"%%userDataPath%%/addons/@getflywheel-local-addon-instant-reload"},"p":{}}
[14:30:24][patrick@bookra] /opt/Local (+1|%0|!5164|0)
❯ mv /tmp/local-m94Dp3SRg/package /home/patrick/.config/Local/addons/@getflywheel-local-addon-instant-reload
[14:30:37][patrick@bookra] /opt/Local (+1|%0|!5165|0)

I was able to move the temporary folders manually.

The logs point to an issue with copying/moving the temporary folder between different partitions. The /tmp folder is on one partition, the Local folder is on another partition. Both are properly mounted with rw rights.

It would be nice if at least an error would be catched and the user informed at this point.

Nice! thanks for providing that feedback!

We’ve seen a few instances where Local doesn’t like being spread out across partitions and so having examples of this kind of thing is great for determining the best way to solve for everyone!

Out of curiosity, what OS are you running? Those paths (~/.config) make me think of some flavor of Linux.

Windows 10

It’s Ubuntu 21.04

❯ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	21.04
Codename:	hirsute
1 Like

It’s working when you run LOCAL as Administrator!

Fedora 34…

Can not add Add-ons… Installing and installing… 4 hours later “Installed” Add-ons tab is empty. And so I try again, like an idiot.

Mac OS Mojave
local-lightning.log (502.9 KB)

Hey @chrisborgman – looking at the Local log, I’m not seeing anything specific related to Add-ons, however, there is this line:

{"thread":"main","class":"SiteProcessManagerService","stack":"Error: EACCES: permission denied, mkdir '/Volumes/SSD RAID 1TB'","level":"error","message":"Unable to dump database.","timestamp":"2021-08-25T18:50:42.523Z"}

That mentions Error: EACCES: permission denied, mkdir '/Volumes/SSD RAID 1TB

Is Local installed somewhere on a different partition?