Error upgrade failed due to a failure in downloading the version file

Сообщение amsterdamus » Ср дек 07, 2022 11:55 am

amsterdamus

Новичек
Новичек
Сообщения: 1
Зарегистрирован: Ср дек 07, 2022 11:38 am

Первоначальная настройка Huawei AP 4050 DN

Сообщение amsterdamus » Ср дек 07, 2022 11:55 am

Alexander_89 писал(а):

kvp51 писал(а):

Alexander_89 писал(а):Есть нужная прошивка!!! Роутер перепрошит!!! Связь через почту или тут.

Если роутер зовут AP4050DN прошу помочь. Например, скиньте ссылку на файл прошивки. Много людей Вам будут благодарны.

Роутер как раз и зовут AP4050DN. В личке на другом сайте 4ПДА я вам ответил. можем пообщаться.
Прошивка AP4050DNFAT&CLOUDV200R019C00SPC903.
На скриншоте видна конечная операция по перепрошивке.
IMG-20221202-WA0011.jpg

Добрый день. поделись с прошивкой. в в ЛС не могу писать


Alexander_89

Новичек
Новичек
Сообщения: 5
Зарегистрирован: Пт дек 02, 2022 6:38 pm

Первоначальная настройка Huawei AP 4050 DN

#12

Сообщение Alexander_89 » Ср дек 07, 2022 4:21 pm

amsterdamus писал(а):

Alexander_89 писал(а):

kvp51 писал(а):Если роутер зовут AP4050DN прошу помочь. Например, скиньте ссылку на файл прошивки. Много людей Вам будут благодарны.

Роутер как раз и зовут AP4050DN. В личке на другом сайте 4ПДА я вам ответил. можем пообщаться.
Прошивка AP4050DNFAT&CLOUDV200R019C00SPC903.
На скриншоте видна конечная операция по перепрошивке.
IMG-20221202-WA0011.jpg

Добрый день. поделись с прошивкой. в в ЛС не могу писать

Я тоже не могу писать с ЛС. В предыдущем сообщении есть вариант где пообщаться и там тема есть для этого.


vanek-80

Новичек
Новичек
Сообщения: 1
Зарегистрирован: Пт дек 23, 2022 6:04 pm

Первоначальная настройка Huawei AP 4050 DN

#13

Сообщение vanek-80 » Пт дек 23, 2022 6:21 pm

Добрый вечер. Подскажите кто нить пожалуйста — пытаюсь переключить AP4050DN в режим Fat и делаю все по инструкции — выходит ошибка — upgrade failed due to a failure in downloading the version file.
И такая ошибка происходит что при команде на переключение режима работы, что при попытке апгрейда (скрин приложил). Лог фтп в скрине так же приложил. Пробовал разные фтп и sftp серверы.

Сам аппарат я сбросил до заводских настроек, если запросить командой состояние — выдает AP4050DN FIT V200R019C00SPC805

Можно ли его переключить в ФАТ ? нужно ли сделать апгрейд ?
Может проблема в Винде ? Windows 7 — строго обязательный параметр в данном процессе?
Запускал на Windows 10

Вложения
Безымянный.jpg
Безымянный2.jpg


Alexander_89

Новичек
Новичек
Сообщения: 5
Зарегистрирован: Пт дек 02, 2022 6:38 pm

Первоначальная настройка Huawei AP 4050 DN

#14

Сообщение Alexander_89 » Вс дек 25, 2022 3:42 pm

vanek-80 писал(а):Добрый вечер. Подскажите кто нить пожалуйста — пытаюсь переключить AP4050DN в режим Fat и делаю все по инструкции — выходит ошибка — upgrade failed due to a failure in downloading the version file.
И такая ошибка происходит что при команде на переключение режима работы, что при попытке апгрейда (скрин приложил). Лог фтп в скрине так же приложил. Пробовал разные фтп и sftp серверы.

Сам аппарат я сбросил до заводских настроек, если запросить командой состояние — выдает AP4050DN FIT V200R019C00SPC805

Можно ли его переключить в ФАТ ? нужно ли сделать апгрейд ?
Может проблема в Винде ? Windows 7 — строго обязательный параметр в данном процессе?
Запускал на Windows 10

Добавь файлезилу в исключения брандмауэра и все попрет. У меня так же выходила, пока в исключения не добавил. На сервере при передаче файла прошивки ошибка идёт. Брандмауэр блокирует. У меня на 11 прошивался.

IMG_20221202_174850.jpg

Прошивка из под вин 11.
Вот ошибка при передаче прошивки

IMG_20221225_155046.jpg


Axyl7

Новичек
Новичек
Сообщения: 1
Зарегистрирован: Ср янв 11, 2023 8:53 am

Первоначальная настройка Huawei AP 4050 DN

#15

Сообщение Axyl7 » Ср янв 11, 2023 9:04 am

Alexander_89 писал(а):Есть нужная прошивка!!! Роутер перепрошит!!! Связь через почту или тут.

Здравствуйте, помогите пожалуйста с прошивкой роутера. Нужен файл прошивки. Уже все китайские сайты перекопал, но не нашёл. Роутер лежит уже мёртвым грузом пол года. Буду очень благодарен.


Alexander_89

Новичек
Новичек
Сообщения: 5
Зарегистрирован: Пт дек 02, 2022 6:38 pm

Первоначальная настройка Huawei AP 4050 DN

#16

Сообщение Alexander_89 » Чт янв 12, 2023 1:30 pm

Axyl7 писал(а):

Alexander_89 писал(а):Есть нужная прошивка!!! Роутер перепрошит!!! Связь через почту или тут.

Здравствуйте, помогите пожалуйста с прошивкой роутера. Нужен файл прошивки. Уже все китайские сайты перекопал, но не нашёл. Роутер лежит уже мёртвым грузом пол года. Буду очень благодарен.

Здравствуйте не вопрос. Поищите меня на 4пда. Там можем поощаться


Looks like no one’s replied in a while. To start the conversation again, simply

ask a new question.

Hi ,

I tried to install the latest macOS update, I didn’t have enough space on my laptop, so I had to make some room. Now my laptop has more than enough memory, but I keep getting this error. I already tried booting up in safe mode, but I keep getting the same error.

Thanks!

MacBook

Posted on Feb 3, 2021 12:06 PM

Similar questions

  • Error while attempting to install Big Sur on my 2016 MacBook Pro
    I get «An error occurred while installing selected updates» Where is the 12 GB download — should I delete and re-download? Other thoughts?

    294
    6

  • Can’t download macOS Big Sur 11.5.1
    An error occurs while downloading macOS Big Sur 11.5.1 update. The following text pops up 2 seconds into the download:
    «DOWNLOAD FAILED An error occurred while downloading the selected updates. Please check your internet connection and try again. »
    The internet connection is fine and there is more than 15G of space available on hard drive, restarted computer and tried in safe mode.

    Any suggestions on what may be the cause? Thanks

    714
    5

  • I always encounter error when upgrading my macOS Big sur
    After downloading completely the 12.18 GB, an error message appears.

    86
    5

1 reply


Question marked as

Helpful

Feb 6, 2021 10:21 AM in response to Tigrosso

Same problem. Retried several times. Why they don’t retain the download cache so we don’t have to re-download the entire 3.25GB from the beginning each time is beyond me. The problem is NOT the internet connection. All the «solutions» I’ve seen so far on this forum are work-arounds (hacks). Apple needs to fix this ASAP. It took me several attempts and a lot of freeing up of disk space to get Big Sur to install in the first place. Now the thing can’t even update itself, despite my MBP having plenty of free space. I don’t want to reboot into safe mode, stand on one foot, pat my head and rub my belly. I want an updater that A) works or B) at least provides accurate error messages. If I’m going to pay more for a product, I expect it to work at least as well as the competition.

35 replies

Feb 5, 2021 6:15 AM in response to Tigrosso

Hello Tigrosso,

Thank you for using Apple Support Communities!

We understand from your post that after clearing space on your laptop you are still unable to update the software due to an error saying that the download failed. Look for an installer in the downloads folder and put it in the trash. Then try downloading the update again. If the issue persists, try reinstalling the current software using macOS Recovery and then downloading the update again.

How to reinstall macOS — Apple Support

Best Regards.

Feb 5, 2021 6:51 AM in response to Tigrosso

The error message in picture explains everything — Internet Connection is either not working or is too unstable / slow to download the update reliably. Suggest restarting the Wifi Router and then restarting the laptop in Safe Mode — immediately hold Shift Key at restart. Disconnect all other devices using the Wifi — this will give the max bandwidth to laptop. Once logged in the computer will function slower — Normal. Try the download again.

Feb 5, 2021 8:30 AM in response to P. Phillips

It appears that the error is misleading. Several people have reported the same issue, including me after unsuccessfully tried everything Apple support had to offer (sans reinstall) like different networks, disk repairing, safe mode.

Feb 6, 2021 5:05 AM in response to P. Phillips

It is not the Wifi, the message is misleading.

I tried to install several times in the past few days. Get this message every time, Wifi is working fine everywhere else. Tried with a cable connection instead of Wifi, same result.

Also, I do not have a download in my Downloads folder (~/Downloads). Do not remember seeing a download there for any previous system updates either.


Question marked as

Helpful

Feb 6, 2021 10:21 AM in response to Tigrosso

Same problem. Retried several times. Why they don’t retain the download cache so we don’t have to re-download the entire 3.25GB from the beginning each time is beyond me. The problem is NOT the internet connection. All the «solutions» I’ve seen so far on this forum are work-arounds (hacks). Apple needs to fix this ASAP. It took me several attempts and a lot of freeing up of disk space to get Big Sur to install in the first place. Now the thing can’t even update itself, despite my MBP having plenty of free space. I don’t want to reboot into safe mode, stand on one foot, pat my head and rub my belly. I want an updater that A) works or B) at least provides accurate error messages. If I’m going to pay more for a product, I expect it to work at least as well as the competition.

Feb 6, 2021 1:22 PM in response to eelko208

Well one more way might be to reboot in Recovery Mode — Command + r — keys immediately at startup and connected via Ethernet. Presented with various option >> choose Reinstall macOS. This time, it was download the Full Installer 12.18 GB and attempt the installation. Some call this an In-place Installation. It should upgrade 11.1 to 11.2.

Strongly suggest doing a Time Machine Backup Before attempting and if doable — create a Bootable Clone to external drive as Insurance

Mar 2, 2021 12:30 PM in response to Alwayswantingtohelp1

I’ve been having the same problem since updating to Big Sur. Each update has been difficult, with multiple fails. And it’s happened to three other Macbooks in the house. I second the thought that there should be a method of downloading once rather than re-downloading the same file over and over again. Moreover, once for the entire household would be even better. What a waste, especially for people on limited connections. In any case, I’ve tried everything except re-installing and would prefer not to lose the day it will take to do so. This is a pretty offensive suggestion for a $2trillion company: «If the issue persists, try reinstalling the current software using macOS Recovery and then downloading the update again.» Waste your time, not ours! Have a good day! Seriously. Fix your software.

Mar 2, 2021 1:20 PM in response to markgoodstein

Suggest — restart Router and then Shutdown Computer and connect via Ethernet connection. Restart computer in Safe Mode — Shift — Key immediately at startup. It does a Repair Disk, clears cache files and load only Apple Software — load slowly — Normal. Once in Open Apple Apps Store and find Big Sur and download. Try not to let computer go to sleep mode or Screen Save to activate. Be patient as one knows it Big Sur is 12.18 GB size. There are often periods where it seems to pause the download , normal be patient as countdown clock may say 15 minutes but in Real Time could be 30 — 45 minutes. This can and will happen several time in the process. If all goes well. it will successfully download and attempt to Launch. Do NOT allow it to start — Quist the Installer. Check Applications Folder for new App called Install Bug Sur. Make a copy to External Drive — future usage. Now, restart again in Safe Mode — then launch the Installer.

If this is not to ones liking and as last resort — Boot Safe Mode — Shift — Immediately and Open Terminal. Copy and paste this command  » softwareupdate -l » without quotation marks. This should List all available updates. Now, still in Terminal copy and paste this command again with quotation marks » softwareupdate -1 -a » — what was listed in previous command will start the download and attempt to install.

Mar 2, 2021 1:42 PM in response to P. Phillips

As I said, I have already upgraded to Big Sur (which involved at least 10 separate 12+gb downloads!). I am trying to install one of the frequent updates to Big Sur (which has now involved a similar number of 2+gb downloads). Does the same hack work for updates? This seems pretty silly, frankly. In any case, each time I attempt to update, whether in safe mode or not, the download completes and then freezes with a message that 10 minutes remain. I have left it in that state, with the fan on constantly, over night. Also, one process is usually pegged at high CPU usage. I can’t afford the time or bandwidth to do this again right now, but here’s a screenshot of the beginning of the name of the process (com.apple.MobileSoftwareUpdate…)

Mar 2, 2021 1:46 PM in response to markgoodstein

Almost afraid to ask- any antivirus software installed?

Mar 2, 2021 1:54 PM in response to P. Phillips

Yes, ESET. I don’t remember ever having to disable it prior to Big Sur and haven’t yet. Ugh, if that’s the issue.

Mar 2, 2021 1:59 PM in response to markgoodstein

Extremely probable. Without long store totally unneeded, disrupts the normal operation of the OS and can corrupt the OS. Remove as per Developers instructions asap

Mar 2, 2021 2:02 PM in response to P. Phillips

This is the first I’ve ever seen of this. Can you provide links to support this claim?

Mar 2, 2021 2:13 PM in response to markgoodstein

https://discussions.apple.com/docs/DOC-250003367 Read right to the End and within that posting is a Link to Best Defense from Malware etc

Without getting long winded — on these Forums AV Software is considered as ^%$ware and that is based on Very Very Long experience of myself and those even longer on the Apple Eco-System. Viruses do not exist for macOS, yes Malware does but only if people purposely download or do not do due Diligence on where they get their Software

Mar 2, 2021 3:37 PM in response to P. Phillips

Okay, but I already tried installing in Safe Mode, which ought to mean no ESET. So…I’ve already tried and it responds as above (hangs with «10 minutes remaining»

macOS Big Sur 11.2 update download failed error

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


Closed

kbrinnehl opened this issue

Nov 28, 2017

· 57 comments


· Fixed by #3335

Comments

@kbrinnehl

As of helm v2.7.1, after updating tiller, running helm upgrade —install flag no longer works. The following error is displayed: Error: UPGRADE FAILED: «${RELEASE}» has no deployed releases. Downgrading to v2.7.0 or v2.6.2 does not produce the error.

domingusj, zx8, tamurayoshiya, prein, saj, jsw, gechr, htch, consideRatio, pierreozoux, and 47 more reacted with thumbs up emoji

@kbrinnehl
kbrinnehl

changed the title
helm update —install no longer works

helm upgrade —install no longer works

Nov 28, 2017

@tcolgate

I thought I was experiencing the same problem, but it turned out I just had an old delete (but not purged), release hanging around. check helm list -a , and if your release is there, helm delete —purge releasename. helm upgrade -i is working successfully on 2.7.2 for me.

cory-klein, prezly-github-bot, adamJaffe2, grifonas, spiman, fdr2, hnykda, wehappyfew, dmahlow, vmikki, and 174 more reacted with thumbs up emoji
babasbot, tekchain, junaid-ali, LoganHenderson, mcortinas, sdkks, nikskiz, naphthalene, beeant, morganrconnolly, and 6 more reacted with laugh emoji
consideRatio, prezly-github-bot, adamJaffe2, hnykda, abhishekagarwal87, etiennedi, chrisatomix, danejordan, PFadel, piotrgo, and 30 more reacted with hooray emoji
consideRatio, frairon, adamJaffe2, hnykda, kopf, etiennedi, chrisatomix, electronickai, PFadel, SachinHg, and 26 more reacted with heart emoji
DanielRejniak, LoganHenderson, mcortinas, sdkks, felipegirotti, vlandemaine-orange, nikskiz, shotat, morganrconnolly, bsethi, and 4 more reacted with rocket emoji
lavie, morganrconnolly, olereidar, and jithin03 reacted with eyes emoji

@bacongobbler

This is a side-effect of fixing issues around upgrading releases that were in a bad state. #3097 was the PR that fixed this issue. Is there an edge case here that we failed to catch?

Check helm list -a as @tcolgate mentioned, perhaps also explaining how to reproduce it would also be helpful to determine if it’s an uncaught edge case or a bug.

@TD-4242

Also having the same problem, along with duplicate release names:

$>helm ls -a|grep ingress
nginx-ingress            	9       	Thu Nov 30 11:33:06 2017	FAILED  	nginx-ingress-0.8.2        	kube-ingress
nginx-ingress            	11      	Thu Nov 30 11:37:58 2017	FAILED  	nginx-ingress-0.8.2        	kube-ingress
nginx-ingress            	12      	Thu Nov 30 11:38:50 2017	FAILED  	nginx-ingress-0.8.2        	kube-ingress
nginx-ingress            	8       	Thu Nov 30 11:31:27 2017	FAILED  	nginx-ingress-0.8.2        	kube-ingress
nginx-ingress            	10      	Thu Nov 30 11:33:53 2017	FAILED  	nginx-ingress-0.8.2        	kube-ingress
$>helm diff nginx-ingress ./nginx-ingress
Error: "nginx-ingress" has no deployed releases

@bacongobbler

When you were upgrading, what message was displayed?

@TD-4242

same error as the diff above, but an install would say it was already installed.

@bacongobbler

I mean in the previous upgrade attempts that ended up in a FAILED status. I want to know how we get into the situation where all releases are in a failed state.

@TD-4242

Ohh, the duplicate release name deployments? That I’m not sure, I get it quite often. Sometimes they are all in a DEPLOYED state, sometimes a mix of FAILED and DEPLOYED. We use a CI/CD Jenkins server that constantly updates every PR merge so we do several helm upgrade‘s a day, typically only having a new container tag. Usually the duplicates are just annoying when looking at whats deployed, this was the first time we had a hard issue with them, and normally we don’t upgrade the ingress controller as we were in this case.

@bcorijn

I seem to have ended up with something similar, I see a few duplicates in my releases lists:

$ helm ls
NAME                      REVISION    UPDATED                     STATUS      CHART                           NAMESPACE
.....
front-prod                180         Tue Dec  5 17:28:22 2017    DEPLOYED    front-1                         prod
front-prod                90          Wed Sep 13 14:36:06 2017    DEPLOYED    front-1                         prod 
...

All of them seem to be in a DEPLOYED state, but it could well be that a previous upgrade failed at some point, as I have hit that bug several times. I am still on K8S 1.7, so have not updated to helm 2.7 yet.

@s4nch3z

Same issue, can’t upgrade over FAILED deploy

tmaier, supershal, stealthybox, djhaskin987, Mikulas, finsterwalder, jPrest, notque, Tzrlk, keatz55, and 11 more reacted with thumbs up emoji
jPrest, deimosfr, and immoptimiz reacted with confused emoji

@aelbarkani

Same here using 2.7.2. The first attempt of a release was failed. Then when I tried an upgrade —install I’ve got the error «Error: UPGRADE FAILED: «${RELEASE}» has no deployed releases».

@winjer

Same problem here with 2.7.2, helm upgrade --install fails with:

Error: UPGRADE FAILED: "APPNAME" has no deployed releases

@winjer

If the release is entirely purged with helm del --purge APPNAME then a subsequent upgrade --install works ok.

stealthybox, dmahlow, martinxsliu, amifeanyi, finsterwalder, tddt, mu5h3r, ati90ati, Arfey, hitochan777, and 26 more reacted with thumbs up emoji
sixbyter, uzd, lnrs-svc-devops-ci, frankgu968, joostvdg, AeroNotix, collins-b, jonathanbass, mariaclaramelo, Smana, and msangals reacted with thumbs down emoji
tddt, thomasriley, and notque reacted with laugh emoji
thomasriley and gustavolaux reacted with hooray emoji
thomasriley reacted with heart emoji

@prein

I’m experiencing the same problem. Combined with #3134 that leaves no option for automated idempotent deployments without some scripting to workaround.

@winjer just tried deleting with —purge and for me it didn’t work although the error changed
/ # helm upgrade foo /charts/foo/ -i —wait
Error: UPGRADE FAILED: «foo» has no deployed releases
/ # helm delete —purge foo
release «foo» deleted
/ # helm upgrade foo /charts/foo/ -i —wait
Release «foo» does not exist. Installing it now.
Error: release foo failed: deployments.extensions «foo-foo-some-service-name» already exists

@tcolgate

@prein This is because you have a service that is not «owner» by helm, but already exists in the cluster. The behaviour you are experiencing seems correct to me. The deploy cannot succeed because helm would have to «take ownership» of an API object that it did not own before.

It does make sense to be able to upgrade a FAILED release, if the new manifest is actually correct and doesn’t content with any other resources in the cluster.

@pierreozoux

I’m also seeing this behavior on a release called content:

helm upgrade --install --wait --timeout 300 -f ./helm/env/staging.yaml --set image.tag=xxx --namespace=content content ./helm/content
Error: UPGRADE FAILED: no resource with the name "content-content" found
helm list | grep content
content                        	60      	Mon Dec 25 06:02:38 2017	DEPLOYED	content-0.1.0                	content           
content                        	12      	Tue Oct 10 00:02:24 2017	DEPLOYED	content-0.1.0                	content           
content                        	37      	Tue Dec 12 00:42:42 2017	DEPLOYED	content-0.1.0                	content           
content                        	4       	Sun Oct  8 05:58:44 2017	DEPLOYED	k8s-0.1.0                    	content           
content                        	1       	Sat Oct  7 22:29:24 2017	DEPLOYED	k8s-0.1.0                    	content           
content                        	61      	Mon Jan  1 06:39:21 2018	FAILED  	content-0.1.0                	content           
content                        	62      	Mon Jan  1 06:50:41 2018	FAILED  	content-0.1.0                	content           
content                        	63      	Tue Jan  2 17:05:22 2018	FAILED  	content-0.1.0                	content           

I will have to delete this to be able to continue to deploy, let me know if there is anything I can do to help debug this.
(I think we should rename the issue, as it is more about the duplicates?)
(we also run 2.7.2)

@pierreozoux

I actually have another duplicate release on my cluster, if you have any command for me to run to help debug that? Let me know!

@rcorre

just upgraded to tiller 2.7.2 and we’re seeing the same thing. helm delete RELEASE_NAME followed by helm upgrade RELEASE_NAME . fails with Error: UPGRADE FAILED: "RELEASE_NAME" has no deployed releases. upgrade is the intended way to restore a deleted (but not purged) release, correct?

@rcorre

Looks like you can restore the release by rolling back to the deleted version.

adamreese

added a commit
to adamreese/helm
that referenced
this issue

Jan 11, 2018

@adamreese

`helm list` should only list latest release

fixes helm#3208

adamreese

added a commit
that referenced
this issue

Jan 12, 2018

@adamreese

`helm list` should only list latest release

fixes #3208

@ptagr

seeing the same issue with v2.7.2 , fails when there are no previous successfully deployed releases

@stealthybox

Also seeing two potential versions of this issue:


in CI:

+ helm upgrade --install --wait api-feature-persistent-data . --values -
+ cat
WARNING: Namespace doesn't match with previous. Release will be deployed to default
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
Error: UPGRADE FAILED: "api-feature-persistent-data" has no deployed releases

on my local machine:

( both at my OSX bash and in a gcloud/kubectl container )

+ helm upgrade --install --wait api-feature-persistent-data . --values -
+ cat
WARNING: Namespace doesn't match with previous. Release will be deployed to default
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
2018/01/25 00:19:07 warning: destination for annotations is a table. Ignoring non-table value <nil>
Error: UPGRADE FAILED: no PersistentVolumeClaim with the name "api-feature-persistent-data-db" found

The warnings are normal for our chart.
The errors are interesting because one of our subcharts has a pvc.yaml in it.

helm del --purge <release> does mitigate the problem.
This does make our CI pipeline difficult to upgrade.

@peay

@adamreese what is the final resolution for this issue? We’re on 2.8 and we still cannot upgrade a previously FAILED release with the change to helm list.

In particular, we’re running into the following type of issues:

  • deploy a release, OK
  • upgrade --install --wait, but maybe there’s a small bug and --wait doesn’t succeed (e.g., liveness probes never make it up)
  • after fixing the chart, upgrade --install --wait fails with xxx has no deployed releases

Deleting/purging is not desirable or acceptable here: the release may have multiple resources (pods, load balancers) that are not affected by the one resource that won’t go up. In previous Helm versions, upgrade --install allowed us to only patch the change that broke the full release without having to remove all the resources.

Helm is the owner of all resources involved at all times here — the resource is only marked FAILED because --wait didn’t succeed to wait for all resources to be in a good state. I assume the same will happen if a pod is a bit too slow to start and in many similar cases.

foklepoint, slezica, kliu128, saplla, TimJones, KIVagant, ryannealmes, krish7919, mikearruda, josecv, and 5 more reacted with thumbs up emoji

@bacongobbler

@peay

Thanks — that clears it up. Actually realized we were only hitting it when we had no successful release to begin with. In that case, purge is a fine workaround.

@stealthybox

@MythicManiac FWIW:
I still have our teams pinned on v2.7.0 because of this behavior.
We don’t seem to have any issues with resources upgrading and deleting when they are supposed to using helm upgrade --install with this version.

@KIVagant

We also have this problem. It’s very annoying that I need to delete K8s services and related AWS ELBs because helm has no deployed releases. The package manager is great but this issue leads to production downtime which is not good.

@tcolgate

As a very hacky workaround, if the problem with the origin deploy is
resolvable (e.g. preexisting service.), Doing a rollback to the original
failed release can work.

@KIVagant

@tcolgate, thank you! I just fixed another problem (#2426 (comment)) with your workaround and will try to test it for exist ELBs when I am deploying a new chart next week over existing resources.

@KIVagant

Doing a rollback to the original failed release can work.

@tcolgate, I just tested and no, it doesn’t work in the case of first deploy.


$ helm upgrade --wait --timeout 900 --install myproject charts/myproject/myproject-1.1.1.tgz
14:53:18 Release "myproject" does not exist. Installing it now.
14:53:18 Error: release myproject failed: deployments.apps "myproject" already exists

$ helm list
NAME        	REVISION	UPDATED                 	STATUS  	CHART           	APP VERSION	NAMESPACE
myproject    	1       	Mon Oct  8 11:53:18 2018	FAILED  	myproject-1.1.1  	           	default

$ helm rollback myproject 1
Error: "myproject" has no deployed releases

@KIVagant

I am curious, if Helm can’t deploy a chart over existing resources so why helm delete causes deleting exactly these resources?

@KIVagant

@thomastaylor312, we faced this issue as well as #2426 (up: I found the real root cause for 2426) with helm 2.11.0. Do you think they should be reopened?

@krishofmans

I found this thread after a Error: UPGRADE FAILED: "xxx-service" has no deployed releases
While it was visible from a helm ls -a.

I decided to see if it was an issue because of an incorrect —set value, and —debug —dry-run —force actually STILL deleted my running pod … my expectation was that a dry run action would NEVER modify cluster resources.

It did work though, and the service could be redeployed afterwards, but we experienced downtime.

@stealthybox

my expectation was that a dry run action would NEVER modify cluster resources.

This is a fair expectation — we should make that… not happen

@bacongobbler

I believe that was patched in #4402 but it’d be nice if someone were to check. Sorry about that!

@MohamedHedi

same problem after upgrade to 2.11.0

@stealthybox

@gerbsen

Why is this closed? Do we have a proper way to handle this now?

@stealthybox

@gerbsen, there isn’t a way around this with current versions of Helm that is non-destructive.
We still use Helm 2.7.0 for everything in my org. It is a very old version that has other bugs, but it does not have this issue.

@notque

Just had helm upgrade --install --force do a delete --purge and destroy my pvc/pv without telling me (on recycling). Had several failed releases, so it was in a state it was running in kubernetes, but helm thought there were no running releases. Not good times at all.

Slimior, alex88, nielskrijger, jessestuart, yevhenvolchenko, cforce, nick4fake, thuandt, and cjimti reacted with thumbs up emoji
nth-commit, cforce, markmssd, 3h4x, dkarnutsch, and liorrozen reacted with confused emoji

@alex88

@notque after losing all grafana dashboard twice I’ve started doing backups before doing any kind of upgrade, having this kind of risk removes all the benefits of using helm

rdonkin, Tzrlk, bery, Lazzaretti, jessestuart, dix-icomys, neoakris, suleymanakbas91, AmazingTurtle, sta-szek, and 16 more reacted with thumbs up emoji

@l0rd
l0rd

mentioned this issue

Mar 4, 2019

@yehee

For those who are seeking for help, the issue was gone for me after upgrading helm to v.2.15.2

@ScubaDrew

Still seeing this issue on 2.16.0

@nick4fake

Why is it still closed? 2.16.1 is still affected

@alex88

@dcow
dcow

mentioned this issue

Jul 8, 2020

My Release Preview Ring 1809 (17763.404) computer can’t upgrade using Windows Update directly, every time it run 100% and told me restart to install 19H1, never jumped into install screen, and the 10GB migration $WINDOWS.~BT just disappeared, then the Windows Update just start over again, to break the loop I tried to install it on uupdump ISO.

After checking comparability («Make sure you are ready to install») it says:

This PC can’t be upgraded to Windows 10.
Your PC has hardware that isn’t ready for this version of Windows 10. No action is needed. Windows Update will offer this version of Windows 10 automatically once the issue has been resolved.

In $WINDOWS.~BTSourcesPantherCompatData.xml it says:

<DriverPackages>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem20.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem59.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem71.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem87.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem44.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem42.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem16.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem124.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem24.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem70.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem116.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem19.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem77.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem102.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem64.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem106.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem34.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem6.inf»/>
<DriverPackage HasSignedBinaries=»False» BlockMigration=»True» Inf=»oem93.inf»/>
<DriverPackage HasSignedBinaries=»False» BlockMigration=»True» Inf=»oem92.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem39.inf»/>
<DriverPackage HasSignedBinaries=»True» BlockMigration=»False» Inf=»oem2.inf»/>

So the drivers blocking Upgrade are C:WindowsINFoem92.inf and oem93.inf

Microsoft Print To PDF
C:WindowsSystem32DriverStoreFileRepositoryprnms009.inf_amd64_80184dcbef6775bc (ver.20180915)
Microsoft XPS Document Writer
C:WindowsSystem32DriverStoreFileRepositoryprnms001.inf_amd64_f340cb58fcd23202 (ver.20180915)

I can’t update those printer drivers which Windows Update already got those 18362 new drivers

C:WindowsSoftwareDistributionDownload3847f82412c0d2e352b774ced8c14c9bamd64_Microsoft-Windows-Client-Desktop-Required-Package~~amd64~~10.0.18362.1amd64_microsoft-windows-p..g-xpsdocumentwriter_31bf3856ad364e35_10.0.18362.1_none_f5360ee5e03eb891

(ver.20190301)

C:WindowsSoftwareDistributionDownload3847f82412c0d2e352b774ced8c14c9bamd64_Microsoft-Windows-Client-Desktop-Required-Package~~amd64~~10.0.18362.1amd64_microsoft-windows-printing-printtopdf_31bf3856ad364e35_10.0.18362.1_none_548d6537c3c46736

(ver.20190301)

I’ve tried delete those printers but still can’t pass comparability check, since those drivers are still in C:Windows after uninstall printers.

Skip to content



Open


Issue created Jun 25, 2019 by MaximAL@almaximal

Failed upgrade `gitlab-ee` 11.11.3 → 12.0.0 from packages on Debian due to PostgreSQL upgrade failure

I try to upgrade gitlab-ee 11.11.3 → 12.0.0 from apt upgrade, it fails with an error:

...
Checking for an omnibus managed postgresql: OK
Checking for a newer version of PostgreSQL to install
Upgrading PostgreSQL to 10.7
Checking if we already upgraded: NOT OK
Checking if PostgreSQL bin files are symlinked to the expected location: OK
...

Creating temporary data directory: OK
Initializing the new database:Error initializing database for 10.7
STDOUT: The files belonging to this database system will be owned by user "gitlab-psql".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.UTF-8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

STDERR: initdb: directory "/var/opt/gitlab/postgresql/data.10" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/var/opt/gitlab/postgresql/data.10" or run initdb
with an argument other than "/var/opt/gitlab/postgresql/data.10".
== Fatal error ==
Please check the output and try again
== Reverting ==
ok: down: postgresql: 1s, normally up
Symlink correct version of binaries: OK
ok: run: postgresql: (pid 30180) 0s
== Reverted ==
== Reverted to 9.6.11. Please check output for what went wrong ==

...
Toggling services: OK
Ensuring PostgreSQL is updated: NOT OK
Error ensuring PostgreSQL is updated. Please check the logs
dpkg: error processing package gitlab-ee (--configure):
...

When I run gitlab-ctl reconfigure manually it goes fine without errrors.
After restarting gitlab-ctl restart I see version number 12.0.0 in GitLab admin interface.
But gitlab-ee package remains not fully installed/removed in apt upgrage output:

# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]

If I continue, it fails again.

How can I properly upgrade without losing my data?
Should I backup /var/opt/gitlab/postgresql/data.10 directory, empty it, do the upgrage and then replace files in it?

Edited Jun 25, 2019 by MaximAL

Понравилась статья? Поделить с друзьями:
  • Error updating the system bitrix env
  • Error updating repositories freebsd
  • Error updating changes not a git repository
  • Error updating changes detected dubious ownership
  • Error updating cell mesh in system fluid flow