core icon indicating copy to clipboard operation
core copied to clipboard

Update to 5.0.2 error

Open SergioBondietti opened this issue 13 years ago • 24 comments

Hi, updating to 5.0.2 gives me this error

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mycloud.oc_fscache' doesn't exist

5.0.1 does not give this problem

i just did a clean 5.0 install yesterday btw.

SergioBondietti avatar Apr 02 '13 11:04 SergioBondietti

Hello,

i encountered the same problem :(

universal avatar Apr 02 '13 11:04 universal

@blizzz @icewind1991 @schiesbn Any idea?

karlitschek avatar Apr 02 '13 11:04 karlitschek

I did a whole clean install instead because it was just a day old anyway. Rolling back to 5.0.1 did work too but i don't know what the side effects are. Some tables might be already altered.

SergioBondietti avatar Apr 02 '13 11:04 SergioBondietti

I have the same problem:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_fscache' doesn't exist

ketam avatar Apr 02 '13 11:04 ketam

Same problem, trying to update with this method : http://doc.owncloud.org/server/5.0/admin_manual/maintenance/update.html SQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_fscache' doesn't exist

And i can't update with the admin panel : Erreur : Failed to create backup

I have owncloud 5.0.0

heaven988 avatar Apr 02 '13 11:04 heaven988

I updated to 5.0.2, and I have the same problem now. ownCloud is in maintenance mode. How can I fix it? Sin t tulo-1

AlvaroRuiz avatar Apr 02 '13 12:04 AlvaroRuiz

@AlvaroRuiz : no backup?

heaven988 avatar Apr 02 '13 12:04 heaven988

+1

janharms avatar Apr 02 '13 12:04 janharms

change 'maintaincance' => true, to "false" in owncloud-directory/config/config.php Done. Next error: Sin t tulo2 What to do now? @heaven988 I have a backup but I don´t need it because I haven´t uploaded any file, I am starting to use owncloud, and I am just testing it. Thanks.

AlvaroRuiz avatar Apr 02 '13 12:04 AlvaroRuiz

Same to me...

batserra avatar Apr 02 '13 12:04 batserra

Somewhere on the way the table has been dropped. However, there is no dropping of the table in the code, neither 5.0.2 nor 5.0.0.

Will a table be dropped when it is removed from db_structure.xml?

P.S.: On a 5.0.0 DB i still have the table, so it does not look like this. Otherwise problems would have hit us earlier.

blizzz avatar Apr 02 '13 12:04 blizzz

Somewhere on the way the table has been dropped. However, there is no dropping of the table in the code, neither 5.0.2 nor 5.0.0.

oc_fscache was used for file cache in 4.5, right? If it's a fresh 5.0 installation, there will be no oc_fscache at all, so we may not assume that the table oc_fscache exists.

georgehrke avatar Apr 02 '13 13:04 georgehrke

On 04/02/2013 03:06 PM, Georg Ehrke wrote:

Somewhere on the way the table has been dropped. However, there is
no dropping of the table in the code, neither 5.0.2 nor 5.0.0.

oc_fscache was used for file cache in 4.5, right? If it's a fresh 5.0 installation, there will be no oc_fscache at all, so we may not assume that the table oc_fscache exists.

Of course … duckpoo. Okay, I know where the crux is.

— Reply to this email directly or view it on GitHub https://github.com/owncloud/core/issues/2642#issuecomment-15773735.

blizzz avatar Apr 02 '13 13:04 blizzz

Just to join you guys, +1 problem I try to jump form 5.0.0 to 5.0.2 which is not recommended for "Update" and also got this:

Updated database SQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_fscache' doesn't exist

CentOS 6.4 x64, MySql Back-end. It's a day old install and I was tickle with it so will do clean install anyway. by default 2013-04-02 at 9 16 36 PM

mveplus avatar Apr 02 '13 13:04 mveplus

@mveplus I have done the exactly the same like you.

AlvaroRuiz avatar Apr 02 '13 13:04 AlvaroRuiz

@AlvaroRuiz And you got the same error, right?

mveplus avatar Apr 02 '13 13:04 mveplus

I had another error :

Updated database Updating filecache, this may take really long... ... 20% done ... ... 40% done ... SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'mimetype' cannot be null

zeppelinlg avatar Apr 02 '13 13:04 zeppelinlg

@zeppelinlg please open another bug report.

@ others: we figured out where the problem lies and are about to fix it. Please don't post "+1" or "me two" it just floods our inbox. Thank You.

blizzz avatar Apr 02 '13 13:04 blizzz

@blizzz Just open this bug report #2650 :)

zeppelinlg avatar Apr 02 '13 13:04 zeppelinlg

@blizzz,

why don't you put a big red message at https://forum.owncloud.org/viewtopic.php?f=9&t=9939 saying that this update is no good at all for people that have a clean install of 5.0?

Meanwhile it is +1 for me, sorry.

happysysadm avatar Apr 02 '13 14:04 happysysadm