-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PackerUpdate fail to update all plugins #456
Comments
@MordechaiHadad looking at the output of your logs, it seems to be happening because of your internet connection, since git is having trouble pulling from GitHub. Is there anything unusual about your connection that might be the culprit? Are you able to clone these repositories manually, just OOI? Also, have you changed anything in your packer configuration e.g. the url format? |
local execute = vim.api.nvim_command
local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
execute('!git clone https://github.com/wbthomason/packer.nvim '..install_path)
execute 'packadd packer.nvim'
end -- Bootstrap packer so it auto installs everywhere
vim.cmd [[packadd packer.nvim]]
vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes to plugins.lua
local packer = require('packer')
packer.init({
git = {
clone_timeout = 300, -- 5 mins
},
profile = {
enable = true,
},
}) |
Is the set of plugins that fails consistent, or does it vary? |
from what i have seen so far... it varies like even in the screenshot you can see for example todo-comments fails but in the log it doesnt |
So, you're having DNS errors (according to the log). I'm not sure why that wouldn't happen with |
I'll try troubleshooting this |
I am clueless honestly |
I searched By default |
kk give me a sec! |
|
Well, that looks horrifying. I cannot reproduce this latest error either - on my end, setting Just to confirm: You are on the latest What OS are you on? Also, I don't see any plugins specified in your |
I think im using the latest packer I'm using arch linux in wsl
file
local execute = vim.api.nvim_command
local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then vim.cmd [[packadd packer.nvim]] vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes to plugins.lua packer.init({ return require('packer').startup(function(use)
|
Hmm. Your screenshot looks like Sorry for all the questions, but: at which stage do you get these errors? Does that output just appear when you run |
I once suffered the same issue, it happened when I opend Neovim in a dir which is not a git. The bootstrap install failed all the time. If I open Neovim in a git folder, then bootstrap install without producing any error |
I don't use luarocks as idk what they be. |
Got a bit of an update when using the 16 max_jobs thingy packer gets stuck at 8-9 plugins left consistently |
Hey i got an update for you devs mainly @wbthomason |
Thank you for the update! I'm guessing this is indeed a WSL issue, but I unfortunately have no access to WSL for testing purposes. Out of curiosity, do you still see the buggy behavior when you limit |
I have the same problem on a linux machine (Archlinux) with
|
@cinghiopinghio Interesting, thanks. Do you know if this started recently or has always been happening for you? I use/develop |
@wbthomason : yes, the issues started recently (maybe 2/3 weeks? not sure). For Maybe related: there is an issue recently on |
Hi when using max_jobs 1-6 it works perfectly |
hello edited: |
I had this same problem, so I put |
This looks maybe related to #202 Setting max_jobs to 50 worked for me (git clone timeout didn't). Setting a default of 50 would, I think, be reasonable. The other thread shows people with success in the 50-60 range. The README update to customize would be nice too |
I have the same issue, but started outside WSL, and it still doesn't work. |
I recently ran into a similar issue when modifying an
In my case I suspect my large (maybe excessive) number of plugins may be to blame. |
I ran into this when doing a fresh install of NvChad. A quick hacky fix was to add github.com's ip address to |
Just as title says I am able to update most plugins but not all of them.
nvim --version
: 0.5.0 Stable from the arch community repogit --version
: 2.32.0Steps to reproduce
Just use the Update command
Actual behaviour
Not updating everything:

Expected behaviour
Update everyting
Details asked by the guy i discussed with on reddit:
packer files
packer log file
[DEBUG Wed 07 Jul 2021 10:03:03 PM IDT 723908790000] ...are/nvim/site/pack/packer/opt/packer.nvim/lua/packer.lua:428: packer.update: requiring modules
[DEBUG Wed 07 Jul 2021 10:03:03 PM IDT 723910842500] ...are/nvim/site/pack/packer/opt/packer.nvim/lua/packer.lua:302: Processing plugin specs
[DEBUG Wed 07 Jul 2021 10:03:03 PM IDT 723913327200] .../pack/packer/opt/packer.nvim/lua/packer/plugin_utils.lua:176: Updating FS state
[DEBUG Wed 07 Jul 2021 10:03:03 PM IDT 723952014500] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:55: Fixing plugin types
[DEBUG Wed 07 Jul 2021 10:03:03 PM IDT 723952041700] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:66: Done fixing plugin types
[DEBUG Wed 07 Jul 2021 10:03:03 PM IDT 723952065100] ...im/site/pack/packer/opt/packer.nvim/lua/packer/clean.lua:22: Starting clean
[INFO Wed 07 Jul 2021 10:03:03 PM IDT 723952135300] ...im/site/pack/packer/opt/packer.nvim/lua/packer/clean.lua:82: Already clean!
[DEBUG Wed 07 Jul 2021 10:03:03 PM IDT 723952167500] ...are/nvim/site/pack/packer/opt/packer.nvim/lua/packer.lua:451: Gathering install tasks
[DEBUG Wed 07 Jul 2021 10:03:03 PM IDT 723952188100] ...are/nvim/site/pack/packer/opt/packer.nvim/lua/packer.lua:455: Gathering update tasks
[DEBUG Wed 07 Jul 2021 10:03:03 PM IDT 723959470800] ...are/nvim/site/pack/packer/opt/packer.nvim/lua/packer.lua:459: Gathering luarocks tasks
[DEBUG Wed 07 Jul 2021 10:03:03 PM IDT 723959502900] ...are/nvim/site/pack/packer/opt/packer.nvim/lua/packer.lua:469: Running tasks
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858235474800] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update nvim-lua/plenary.nvim: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for nvim-lua/plenary.nvim: fatal: unable to access 'https://github.com/nvim-lua/plenary.nvim.git/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for nvim-lua/plenary.nvim: ca51b68"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858235574900] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update kyazdani42/nvim-web-devicons: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for kyazdani42/nvim-web-devicons: fatal: unable to access 'https://github.com/kyazdani42/nvim-web-devicons/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for kyazdani42/nvim-web-devicons: da717e1"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858235646200] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update tzachar/compe-tabnine: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for tzachar/compe-tabnine: fatal: unable to access 'https://github.com/tzachar/compe-tabnine.git/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for tzachar/compe-tabnine: a4d7b60"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858235715300] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update kabouzeid/nvim-lspinstall: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for kabouzeid/nvim-lspinstall: fatal: unable to access 'https://github.com/kabouzeid/nvim-lspinstall.git/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for kabouzeid/nvim-lspinstall: b39c85d"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858235828500] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update ahmedkhalf/lsp-rooter.nvim: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for ahmedkhalf/lsp-rooter.nvim: fatal: unable to access 'https://github.com/ahmedkhalf/lsp-rooter.nvim.git/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for ahmedkhalf/lsp-rooter.nvim: ca8670c"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858235886500] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update kyazdani42/nvim-tree.lua: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for kyazdani42/nvim-tree.lua: fatal: unable to access 'https://github.com/kyazdani42/nvim-tree.lua/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for kyazdani42/nvim-tree.lua: 933d69a"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858235981400] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update mhinz/vim-startify: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for mhinz/vim-startify: fatal: unable to access 'https://github.com/mhinz/vim-startify/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for mhinz/vim-startify: 81e36c3"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858236070600] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update hrsh7th/nvim-compe: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for hrsh7th/nvim-compe: fatal: unable to access 'https://github.com/hrsh7th/nvim-compe.git/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for hrsh7th/nvim-compe: 83b33e7"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858236132100] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update windwp/nvim-autopairs: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for windwp/nvim-autopairs: fatal: unable to access 'https://github.com/windwp/nvim-autopairs.git/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for windwp/nvim-autopairs: b64fa0d"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858236206600] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update folke/lsp-trouble.nvim: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for folke/lsp-trouble.nvim: fatal: unable to access 'https://github.com/folke/lsp-trouble.nvim.git/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for folke/lsp-trouble.nvim: 7de8bc4"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858236359400] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update ray-x/lsp_signature.nvim: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for ray-x/lsp_signature.nvim: fatal: unable to access 'https://github.com/ray-x/lsp_signature.nvim.git/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for ray-x/lsp_signature.nvim: bb57b0f"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858236409900] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update windwp/nvim-ts-autotag: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for windwp/nvim-ts-autotag: fatal: unable to access 'https://github.com/windwp/nvim-ts-autotag.git/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for windwp/nvim-ts-autotag: b88545a"
}
[DEBUG Wed 07 Jul 2021 10:05:17 PM IDT 858236462400] ...m/site/pack/packer/opt/packer.nvim/lua/packer/update.lua:97: Failed to update rktjmp/lush.nvim: {
data = {
data = {
exit_code = 1,
signal = 0
},
msg = "Error pulling updates for rktjmp/lush.nvim: fatal: unable to access 'https://github.com/rktjmp/lush.nvim/': Could not resolve host: github.com"
},
msg = "Error checking updated commit for rktjmp/lush.nvim: 3232af4"
}
packer compiled file
The text was updated successfully, but these errors were encountered: