Upgrade error 6.1.1 to 6.2.2


#1

Hi everybody !

I do an upgrade of my seafile server on raspberry, 6.1.1 to 6.2.1, my server is working but I have some errors duringthe upgrading:

`Updating seafile/seahub database …

[INFO] You are using SQLite3
[INFO] updating seahub database…
Traceback (most recent call last):
File “/media/pi/252d20eb-8ec9-4007-b327-ea678931ef2b/seafile/seafile-server-6.2.1/upgrade/db_update_helper.py”, line 363, in
main()
File “/media/pi/252d20eb-8ec9-4007-b327-ea678931ef2b/seafile/seafile-server-6.2.1/upgrade/db_update_helper.py”, line 358, in main
db_updater.update_db()
File “/media/pi/252d20eb-8ec9-4007-b327-ea678931ef2b/seafile/seafile-server-6.2.1/upgrade/db_update_helper.py”, line 259, in update_db
super(SQLiteDBUpdater, self).update_db()
File “/media/pi/252d20eb-8ec9-4007-b327-ea678931ef2b/seafile/seafile-server-6.2.1/upgrade/db_update_helper.py”, line 120, in update_db
self.update_seahub_sql(seahub_sql)
File “/media/pi/252d20eb-8ec9-4007-b327-ea678931ef2b/seafile/seafile-server-6.2.1/upgrade/db_update_helper.py”, line 283, in update_seahub_sql
self.apply_sqls(self.seahub_db, sql_path)
File “/media/pi/252d20eb-8ec9-4007-b327-ea678931ef2b/seafile/seafile-server-6.2.1/upgrade/db_update_helper.py”, line 273, in apply_sqls
conn.execute(line)
sqlite3.OperationalError: duplicate column name: login_success

Failed to upgrade your database`

Is this a big problem ?


#2

on the other thread you mentioned upgrading 6.0.9 to 6.3.4 and downgrading to 6.2.1
the upgrade script to 6.3 might have already created that column


#3

Ok, I understand, thank you for the clarification.