UPDATE_APP_TO_LOGIN #1758
My app was running very well, until today when I logged out and logged in again I get the message «UPDATE_APP_TO_LOGIN». Should I only update Tdlib?
The text was updated successfully, but these errors were encountered:
comm-amir-david commented Dec 1, 2021
Latest release ?
version 1.7.0 ?
AYMENJD commented Dec 1, 2021 •
Ah, sorry 1.7.0 is last release and it is outdated.
1.7.9 from last tdlib github commit.
Clone the repo and build it.
dariocode commented Dec 1, 2021
So there is not a prebuilt stable version for android ?
Kratos1013 commented Dec 1, 2021
Please, can you provide latest prebuilt stable version for Android? https://core.telegram.org/tdlib/tdlib.zip this prebuilt is not latest version
AYMENJD commented Dec 1, 2021
So there is not a prebuilt stable version for android ?
dariocode commented Dec 1, 2021
Flohack74 commented Dec 2, 2021
@levlam thats not how it should be: We were preparing now for 1st of Jan to be updated to 1.7.9, which is still a time pressure for a small project, and now suddenly new logins are banned all of a sudden without warning? Where was this date published? Our userbase might be very upset if we have to tell them that maybe for another 2 weeks or so they cannot log in anymore to their accounts, if logged out.
Please, we need a longer grace period on this.
Flohack74 commented Dec 2, 2021
Also you are locking out the official stable versions up to 1.7.0 without providing a new stable release with release notes etc.
levlam commented Dec 2, 2021
Logins are still possible in 1.7.0, but only to existing accounts via QR code scanning. It is not possible to enable logins via phone number in old versions, because they can result in registration of a new user with 64-bit ID, which is unsupported by old clients.
Flohack74 commented Dec 2, 2021
Ok still a migration date would have been nice plus warning.
levlam commented Dec 2, 2021
Noone knew exact migration date, which was dependent on the number of new users.
Telegram started to notify bot developers about migration to 64-bit identifiers in March. The corresponding warning was added to all Bot API updates since Bot API 5.1. Client developers are expected to use the latest TDLib version and had no issues with 64-bit identifiers because of this.
x2bool commented Dec 2, 2021
@levlam is it safe to just pick the latest untagged commit from master branch to generate new bindings for 1.7.9?
levlam commented Dec 2, 2021
Yes, it is absolutely safe. The master version is more stable than 1.7.0.
mckaygerhard commented Dec 3, 2021 •
Flohack74 commented Dec 3, 2021
I can confirm that after upgrading to latest Git HEAD version registration is working for us again. We are now fixing up the expected regression bugs, but overall it should not take longer than 2 days of effort maybe. Just to give other projects a perspective about the needed effort 🙂
mckaygerhard commented Dec 3, 2021
I can confirm that after upgrading to latest Git HEAD version registration is working for us again. We are now fixing up the expected regression bugs, but overall it should not take longer than 2 days of effort maybe. Just to give other projects a perspective about the needed effort 🙂
can ilustrate to non experts coders some of hints or wich commits to made some backports in other cases. telegram api mess up many things with the change of the api to login in 64bit id’s puff
bodqhrohro commented Dec 3, 2021
because they can result in registration of a new user with 64-bit ID, which is unsupported by old clients.
I don’t get how is it worse than not allowing to log in at all.
Flohack74 commented Dec 3, 2021
@levlam I am getting very frustrated now, so we are rushing our update to allow logins again, and while we are testing our new version users start complaining that logged in tdlib Apps start failing, not receiving updates and so on. Please, on Ubuntu Touch this is the only usable mass messaging facility, and suddenly today it started to disconnect random people that did 100% NOT log out, including myself.
You are breaking a public API overnight without notice and transition period, thats what I see here.
0823969789 commented Dec 3, 2021
bodqhrohro commented Dec 3, 2021
The day GitHub was conquered by ordinary users.
Flohack74 commented Dec 3, 2021
@mckaygerhard all I can do is to show you our MR and what we had to change: https://gitlab.com/ubports/apps/teleports/-/merge_requests/420 — mainly int64 changes, and the chat list position thingies. Rest will come later, as this is only the needed fixes to get it running again.
v1adislave commented Dec 4, 2021
Are there compiled binaries for Debian 10+ available?
bodqhrohro commented Dec 4, 2021
@ForNeVeR if you don’t get it: @0823969789 got a link to the issue somewhere when they encountered the login problem, and started putting their authorization code here and there in hope it helps. Would a developer do that?
Poor users, they got suddenly and unduly locked out with no any adequate warning. Even old official clients are affected. Just imagine what fuss did it make for users who lost credentials for their Play Store accounts and so. Will Telegram survive this reputational blow? They surely will, but barely would be able to oppose themselves to evil corps anymore. Even WhatsApp had given an honest deadline when abandoning old platforms.
Drumbard8 commented Dec 6, 2021
I’ve got to agree with @Flohack74 , this update was not handled properly. I get that the 64-bit id issue’s date-of-impact was unknown until the day it happened, but people were not adaquetly warned. I recently looked at this repository before old versions died and I saw the latest tag version was v1.7.0 so I assumed that was the version to use. There was nothing warning of the impending issue or suggesting to use v1.7.9/master. I never would have thought using master was a better option, after all master is being constantly updated so that suggests it would be less stable than an official, and seemingly stable, release/tag. Further more the error message UPDATE_APP_TO_LOGIN is rather vague, my first thought was that it meant upgrade to v1.7.0. I also googled this error on the day it first occurred and I only got 3 results, none related to Telegram. There should have at least been a blog post with that exact error and explaining what it meant, but instead a large portion of users were left in the dark and ended up discussing with each other trying to figure out what was going on. Not everyone is on the BotApi mailing list @levlam .
Furthermore, the TDLib API methods and public interfaces are no longer fully documented. For example, the class GetMessageLink has changed between v1.7.0 and v1.7.9. There is now a new field called mediaTimestamp , but the documentation fails to mention it. And this isn’t a simple parameter where its purpose is obvious, not all messages have media so what about them? Why does this parameter matter? This rust doc at least mentions it, but it doesn’t explain how to use the parameter because that’s the job of the TdLib documentation. What are we actually supposed to use for v1.7.9 documentation?
mckaygerhard commented Dec 6, 2021
but @Drumbard8 You place the developers as guilty, and you don’t see that Telegram has forced its entire population to change (a consecuence of the api upgrade.. ), honestly I prefer to change at the shit of guasap instead of seeing how Telegram forces me to use new things when the old ones work for me good ! people just dont care about «new featrures of 64bit id’s» .. why telegram doe snot provide compatibility api? puff fucking enterprices..
This happens due using closed privative services, although nowadays in open source and free software projects there are so many windosers and hypocrits with their updating fashion that they are the same issue
Drumbard8 commented Dec 6, 2021 •
@mckaygerhard I didn’t understand most of that, but I was under the impression that this library and the docs were maintained by Telegram itself. I didn’t realise there were multiple groups at play here. Which parts are maintained by who?
Flohack74 commented Dec 6, 2021
@mckaygerhard even though I understand your frustration please stop using cursewords in such a thread. It is to the benefit of no one and you will get probably moderated. Stay with the facts, reduce emotions, be constructive. Errors happen, we are all humans, and since we all do not pay for Telegram they are not obliged to contractual terms with us. And this change is not the end of the world, after all fixing it took 2 days for us (mainly due to setting up an upgrade branch, provision CI etc.)
Как обновить Телеграм до последней версии на компьютере и телефоне
Как обновить Телеграм до последней версии на компьютере и телефоне
Для чего это нужно? Мы привыкли, что знакомые нам приложения периодически обновляются сами по себе. Тем не менее, многие пользователи задаются вопросом: как обновить Телеграмм самостоятельно, не дожидаясь момента, когда это произойдет автоматически?
В то же время люди с опасением относятся к подобного рода переменам. Их несложно понять: подавляющее большинство приложений начинает работать хуже после обновления. Здесь нужно отдать команде Telegram должное: каких-либо крупных недоработок за мессенджером никогда не наблюдалось. Напротив, все нововведения направлены на то, чтобы упростить и оптимизировать любые действия, совершаемые на данной платформе. Все работает исправно и быстро: не приходится делать “откат” до предыдущей версии или ждать, когда же выйдет очередное обновление (и не факт, что оно окажется более удачным, продуманным).
Также пора избавиться от беспокойства за настройки своего профиля. Если, к примеру, аккаунт переведен на русский язык, то после обновления все останется на прежних местах. Англоязычный интерфейс окажется в прошлом. В целом, Телеграм поддерживает идею постоянных изменений. Консерватизм здесь неуместен: вполне вероятно, что новая версия подарит пользователям новые возможности, приятные бонусы, опыт работы с приложением.
-
на своём телефоне.
- Проведите пальцем от левого края экрана, чтобы развернуть боковое меню, и тапните «Мои приложения и игры».
- Если на данный момент доступна новая версия, вы увидите её во вкладке «Обновления».
- Нажмите на название «Телеграмма», чтобы зайти на его страничку. и дождитесь окончания процесса.

- Включите обновлённый «Telegram».

- Откройте клиент AppStore в меню Айфона.
- В нижней части экрана нажмите на закладку «Обновления».
- Найдите «Телеграмм» в общем списке. Если его в этом списке нет, значит, у вас уже установлена новейшая модификация.
- Перейдите на страницу мессенджера «Телеграмм» и тапните кнопку «Обновить».
- Введите данные своей учётной записи Apple ID, после чего дождитесь окончания установки.
- Откройте самый новый выпуск «Телеграмма».
Как обновить Телеграм на телефоне

Если в настройках операционной системы вашего гаджета или ПК автоматическое обновление Телегра включено, то никаких действий вам совершать не надо, приложение самостоятельно обновится при наличии подключения к интернету.
В противном случае, вам придется прибегнуть к ручному обновлению. Как это сделать, мы расскажем чуть ниже.
Андроид
Обычно в последних версиях ОС Android автоматическое обновление включено по умолчанию. Иногда эта функция настроена с ограничениями, например, приложения автоматически обновляются только в том случае, если ваш телефон подключен к сети Wi-Fi. Такие ограничения ставятся с целью экономии мобильного трафика, чтобы предотвратить лишнее использование мегабайт.
Как обновить Telegram до бета-версии с папками чатов

На выходных вышла новая бета-версия мессенджера Telegram. Главная фишка обновления — папки, по которым можно распределить чаты и каналы по тематикам. В нашей инструкции рассказываем, как установить бета-версию и протестировать обновление.

Кстати, некоторые провайдеры блокируют ссылку. Если она у вас не открывается, то нужно подключить VPN или воспользоваться браузером TOR.
Если Telegram уже установлен, то проверьте наличие обновлений.
Чтобы это сделать, нажмите на кнопку «Меню»

Затем «Настройки» или «Settings»

В пункте «Настройки» выберите «Продвинутые настройки».

Теперь посмотрите на нижний раздел. Поставьте галочки в пункте «устанавливать бета-версию» и «автоматически проверять обновления».

Нажмите на «Проверить обновления», появится окно с загрузкой бета-версии.

Потом закройте меню. В нижней части, после чатов, появится кнопка «Установить обновление». Нажмите на неё, мессенджер сам обновится и перезапустится.
Теперь зайдите в «Меню», потом в «Настройки» и увидите кнопку «Папки». Нажмите на неё и увидите это меню:

Готово! Теперь вы можете создавать и редактировать свои папки и распределять по ним каналы и чаты.