You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exception during file cache gc if files_external is disabled #21784
[Mon Jan 18 15:27:25 2016] Exception when running cache gc: An exception occurred while executing 'SELECT m."mount_id", "mount_point", "storage_backend", "auth_backend", "priority", m."type" FROM "oc_external_mounts" m INNER JOIN "oc_external_applicable" a ON m.mount_id = a.mount_id WHERE (a."type" = ?) AND (a."value" = ?) AND (m."type" = '1')' with params [3, "admin"]:
SQLSTATE[HY000]: General error: 1 no such table: oc_external_mounts
changed the title [-]Error in cron job if files_external is disabled[/-][+]Exception during file cahce gc if files_external is disabled[/+]on Jan 18, 2016
changed the title [-]Exception during file cahce gc if files_external is disabled[/-][+]Exception during file cache gc if files_external is disabled[/+]on Jan 19, 2016
The mount provider for external storages is not registered since the app is not enabled, so it shouldn't even try and get those mounts. And if you enabled the app and disabled again, then tables should be created.
Activity
DeepDiver1975 commentedon Jan 18, 2016
@icewind1991 mind taking a look? THX
DeepDiver1975 commentedon Jan 18, 2016
[-]Error in cron job if files_external is disabled[/-][+]Exception during file cahce gc if files_external is disabled[/+][-]Exception during file cahce gc if files_external is disabled[/-][+]Exception during file cache gc if files_external is disabled[/+]PVince81 commentedon Feb 11, 2016
@icewind1991 any update ?
icewind1991 commentedon Feb 11, 2016
From the stacktrace it looks like files external is enabled but not properly upgraded
PVince81 commentedon Feb 17, 2016
That gc routine doesn't need external storages as it operates in the "cache" folder, so maybe just add an
iffor now to make it work ?PVince81 commentedon Feb 17, 2016
(until we get the files_external stuff moved to core)
PVince81 commentedon Feb 19, 2016
I can't reproduce this on master.
The mount provider for external storages is not registered since the app is not enabled, so it shouldn't even try and get those mounts. And if you enabled the app and disabled again, then tables should be created.
@DeepDiver1975 are you still observing this on master ?
PVince81 commentedon Feb 19, 2016
This also works for me and delivers the list of apps:
DeepDiver1975 commentedon Feb 24, 2016
I cannot reproduce this any more -> close for now
lock commentedon Aug 6, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.