Skip to content
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

Small addition to docs #234

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

digital-scrappy
Copy link

I added a small section to the docs that covers a problem I ran into.
Basically I did not realize that re-installing telega via Melpa would not rebuild the server so I received the minimum TDLib version warning even though the correct version was installed.

I'm not sure why the server does not get rebuild on re-installation but thought this information could be useful for others.
removed empty lines
@zevlg
Copy link
Owner

zevlg commented Dec 24, 2020

Maybe you run into the problem fixed in #221 ?

@digital-scrappy
Copy link
Author

digital-scrappy commented Dec 24, 2020

I don't think so. I originally had a quite old version of TDLib and the warning persisted after I had rebuilt TDLib from their git and had reinstalled telega using Melpa. Could it be that the telega-server does not get rebuilt when telega is reinstalled?.
Just to be sure I don't think this is a problem since the warning specifies that one should rebuild the server. I just thought it might be confusing to others (as it was to me) that the rebuild does not happen upon reinstall.

@zevlg
Copy link
Owner

zevlg commented Dec 24, 2020

telega-server not necessary need to be rebuild on telega updates, only if telega-server-min-version is greater then version of the telega-server currently installed. Check your telega-server version with M-: (telega-server-version) RET and value for telega-server-min-version with C-h v telega-server-min-version RET

After updating TDLib, do not forget reloading libs cache with ldconfig, then check telega-server version with $ telega-server -h

@zevlg
Copy link
Owner

zevlg commented Dec 24, 2020

I don't think so. I originally had a quite old version of TDLib and the warning persisted after I had rebuilt TDLib from their git and had reinstalled telega using Melpa. Could it be that the telega-server does not get rebuilt when telega is reinstalled?.
Just to be sure I don't think this is a problem since the warning specifies that one should rebuild the server. I just thought it might be confusing to others (as it was to me) that the rebuild does not happen upon reinstall.

telega should query you about telega-server rebuild if rebuild is needed, that is done by (telega-server--check-version telega-server-min-version)

If it does not, then there is some bug that should be fixed.

Could you check please, also check your telega version, because there was issue related to this, fixed in #221

@digital-scrappy
Copy link
Author

hi my telega version is 1.7.0 and my telega-server version is 0.7.3

@zevlg
Copy link
Owner

zevlg commented Dec 27, 2020

hi my telega version is 1.7.0 and my telega-server version is 0.7.3

That is ok, you can run telega with such versions.

However, I’ve been asking for version values when you had problems and telega does not query you for server rebuild as you described in first message

@digital-scrappy
Copy link
Author

Ah ok, sorry for not being specific, I don't know for sure what my tdlib version was (tried searching for it in my logs but did not find it). I guess the telega version must have been the same since I had just installed it that day (the 24th of December).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants