hi,
I was stuck when try to update from 3.1.1-4 to 3.3.0-7
first of all my database was changed in first attempt a year ago. because of this I faced too much issues during my current attempt
I fixed those and want to share here, may be it helpful for some one else
some tables need to be fixed/removed before new attempt
- remove table authors_temp
- remove table categories
- remove table categories_settings
rename a field publication_id with submission_Id in citation table
edit structure of the email_templates table as
CREATE TABLE email_templates
(
email_id
bigint(20) NOT NULL,
email_key
varchar(64) NOT NULL,
enabled
tinyint(4) NOT NULL DEFAULT ‘1’,
assoc_type
bigint(20) DEFAULT ‘256’,
assoc_id
bigint(20) DEFAULT ‘1’
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
ALTER TABLE email_templates
ADD PRIMARY KEY (email_id
),
ADD UNIQUE KEY email_templates_email_key
(email_id
,email_key
),
ADD UNIQUE KEY email_templates_assoc
(email_id
,email_key
,enabled
,assoc_type
);
ALTER TABLE email_templates
MODIFY email_id
bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
edit structure of the email_templates_data table as
CREATE TABLE email_templates_data
(
email_key
varchar(64) NOT NULL,
locale
varchar(14) NOT NULL DEFAULT ‘en_US’,
assoc_type
bigint(20) DEFAULT ‘0’,
assoc_id
bigint(20) DEFAULT ‘0’,
subject
varchar(120) NOT NULL,
body
text
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
ALTER TABLE email_templates_data
ADD UNIQUE KEY email_templates_data_pkey
(email_key
,locale
,assoc_type
,assoc_id
);
-
empty email_templates_settings table data if have any rows
-
empty publications table data if have any rows
-
remove table subeditor_submission_group
-
remove all tables start with this name of temp_xxxxxxxx (6 tables)
-
remove table users_temp
1 more things
my hosting provider giving me Server version: mysql but during this time I feel it is not working properly so I shift my database to another server have
Server version: 10.3.29-MariaDB and find that it is ignoring some errors which was raising my old server
after all this it started upgradation at 11:51 AM and at 03:18 PM my internet connection lost
and I was worried about completion but it was good to see that it upgraded and time of completion showing there 04:49 PM. It means it continues even after my internet connection lost.
Its ok now and thank for your feedback,
thanx again