teamgram / teamgram-server

Unofficial open source mtproto server written in golang with compatible telegram client.
https://teamgram.net
Apache License 2.0
1.8k stars 361 forks source link

Centos 9 Stream Build and Install instruction have some errors #91

Closed onlineapps-cloud closed 1 year ago

onlineapps-cloud commented 1 year ago

hi, i tried today to install teamgram server using this tutorial: https://github.com/teamgram/teamgram-server/blob/master/docs/install-centos-9.md i found some errors in description:

cd /tmp
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
xz -d ffmpeg-release-amd64-static.tar.xz
tar xf ffmpeg-release-amd64-static.tar
cd cd ffmpeg-5.0-amd64-static/ **(double cd cd and folder name is ffmpeg-6.0-amd64-static)**
cp ff* /usr/local/bin/
cd /tmp
wget https://github.com/OpenAtomFoundation/pika/releases/download/v3.3.6/pika-linux-x86_64-v3.3.6.tar.bz2
tar -xf pika-linux-x86_64-v3.3.6.tar.bz2
/tmp/pika/bin/pika -c /tmp/pika/conf/pika.conf & (after unpack pika.tar.bz2 archive folder have **output** name, not pika).
on last database i had error:
shell> mysql -uroot teamgram < teamgramd/sql/init.sql
[root@localhost teamgram-server]# mysql -uroot teamgram < teamgramd/sql/init.sql
ERROR 1054 (42S22) at line 1: Unknown column 'premium' in 'field list'
teamgramio commented 1 year ago
on last database i had error:
shell> mysql -uroot teamgram < teamgramd/sql/init.sql
[root@localhost teamgram-server]# mysql -uroot teamgram < teamgramd/sql/init.sql
ERROR 1054 (42S22) at line 1: Unknown column 'premium' in 'field list'

check: *shell> mysql -uroot teamgram < teamgramd/sql/migrate-*.sql*

onlineapps-cloud commented 1 year ago
[root@localhost teamgram-server]# mysql -uroot teamgram < teamgramd/sql/migrate-*.sql
bash: teamgramd/sql/migrate-*.sql: ambiguous redirect