Error when add a new storage

Forum for questions and support relating to the 1.31.x releases only.
Post Reply
juanmoura
Posts: 75
Joined: Fri Nov 24, 2017 11:46 am

Error when add a new storage

Post by juanmoura » Mon Apr 09, 2018 11:24 pm

When i add a new storage this error appears to me into the log.

SQL-ERR 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'DoDelete' in 'field list'', statement was 'INSERT INTO Storage set `Name` = 'STORAGE_4TB', `Path` = '/storage_4TB', `Url` = NULL, `ServerId` = '1', `Type` = 'local', `Scheme` = 'Medium', `DoDelete` = '1'' params:

And the storage does not appear to me.

User avatar
iconnor
Posts: 470
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Error when add a new storage

Post by iconnor » Wed Apr 11, 2018 2:31 am

I'll try to get an update out tomorrow (the 11th) to fix this. In the meantime

paste into mysql

ALTER TABLE `Storage` ADD `DoDelete` BOOLEAN NOT NULL default true AFTER `ServerId`

juanmoura
Posts: 75
Joined: Fri Nov 24, 2017 11:46 am

Re: Error when add a new storage

Post by juanmoura » Wed Apr 11, 2018 6:12 pm

Yes, all right now.
One question, what's StorageDoDelete ?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest