core icon indicating copy to clipboard operation
core copied to clipboard

PluralizationRules missing on settings / admin page

Open MathiasMoog opened this issue 8 years ago • 18 comments

I use owncloud on an Raspberry PI running Rasbian jessie.

After an upgrade from 10.0.4 to 10.0.5 the settings/admin page does not show up. Only the word "Cron" appears. The html code of the page is:

Cron

The log file shows the message:

{"reqId":"touaQ5FK8x2brrR52Z85","level":3,"time":"2018-01-23T21:42:29+00:00","remoteAddr":"2003:c7:93e0:1400:f5dd:bd23:9ad5:66d7","user":"admin","app":"PHP","method":"GET","url":"/owncloud/index.php/settings/admin","message":"Class 'Symfony\Component\Translation\PluralizationRules' not found at /var/www/owncloud/lib/private/L10N/L10N.php#204"}

I did not find any PluralizationRules.php file unter /var/www/owncloud. There are some Symfony folders, but not a complete installation.

The upgrade message in the log file was:

{"reqId":"XUEeXLMJ5lu13qmUhNB9","level":0,"time":"2018-01-23T21:18:02+00:00","remoteAddr":"2003:c7:93e0:1400:f5dd:bd23:9ad5:66d7","user":"--","app":"core","method":"GET","url":"/owncloud/core/ajax/update.php?requesttoken=dDguAi4SCmIEYzZaGXcRV0gAJTwJFzsbG2oFFB46cyU%3D%3AFuoiBBSSi0SbQXW5%2B%2FbsxbL%2BI2LLIy6W7Efohe15XIY%3D","message":"starting upgrade from 10.0.4.4 to 10.0.5.4"}

There was no further error message during the upgrade process.

The integrity check with the occ command runs successfull.

MathiasMoog avatar Jan 23 '18 22:01 MathiasMoog

GitMate.io thinks the contributor most likely able to help you is @PVince81.

ownclouders avatar Jan 23 '18 22:01 ownclouders

I've the same problem, I updated successfully owncloud from 10.0.4 to 10.0.5 (official owncloud repo) on Debian Stretch and I get the same result accessing Settings but it only happens on Settings->Admin->General and only there, I also get a blank page with the word Cron... this is the source of the page:

<div class="section" id="backgroundjobs">
	<h2 class="app-name has-documentation">Cron</h2>
		<p class="cronlog inlineblock">

and this is the logged error:

{"reqId":"AmoobLSZEiHw82aRIiqS","level":3,"time":"2018-01-23T23:50:05+00:00","remoteAddr":"60.57.51.166","user":"sahsanu","app":"PHP","method":"GET","url":"\/settings\/admin?sectionid=general","message":"Method OC_L10N_String::__toString() must not throw an exception, caught Error: Class 'Symfony\\Component\\Translation\\PluralizationRules' not found at \/var\/www\/owncloud\/lib\/private\/L10N\/L10N.php#0"

This error only happens if user's language is other than English, if English language is selected there is no error.

sahsanu avatar Jan 23 '18 23:01 sahsanu

@MathiasMoog did you install via packages as well?

DeepDiver1975 avatar Jan 24 '18 07:01 DeepDiver1975

The linux packages - at least for debian - are broken @crrodriguez please have a look

bildschirmfoto von 2018-01-24 08-26-18

DeepDiver1975 avatar Jan 24 '18 07:01 DeepDiver1975

as far as I can tell only debian 9 is affected - http://download.owncloud.org/download/repositories/production/Debian_9.0/all/

DeepDiver1975 avatar Jan 24 '18 07:01 DeepDiver1975

I confirm too. Admin broken since owncloud 1.0.5 French - Debian 9 - update via APT

[Wed Jan 24 09:55:54.880185 2018] [:error] [pid 9178] [client xxx.xxx.xxx.xxx:54164] PHP Fatal error: Method OC_L10N_String::__toString() must not throw an e xception, caught Error: Class 'Symfony\\Component\\Translation\\PluralizationRules' not found in /var/www/owncloud/lib/private/L10N/L10N.php on line 0

LiloBzH avatar Jan 24 '18 09:01 LiloBzH

I have the same problem, Italian language. This string in /lib/private/L10N/L10N.php: Use Symfony\Component\Translation\PluralizationRules; refers to a file?

I don't have found a file "PluralizationRules" in any package, deb or rpm.

ssirio avatar Jan 24 '18 09:01 ssirio

reverted stable and production to 10.0.4, fresh remains at 10.0.5

jnweiger avatar Jan 24 '18 10:01 jnweiger

Same for me with a (french) raspbian 9. Update with apt this morning from 10.0.4.

FabienLab avatar Jan 24 '18 15:01 FabienLab

we have a fix for this in qa now ....

DeepDiver1975 avatar Jan 24 '18 15:01 DeepDiver1975

JFYI: Ubuntu is also affected, I'm wonder how this can happen that packages are not deployed to the repository servers but announcing new files to be there? Or is this some kind of an incorrect listing update?

http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/./all/owncloud-files_10.0.5-1.1_all.deb  404  Not Found [IP: 138.201.139.178 80]

andreaslink-de avatar Jan 25 '18 12:01 andreaslink-de

, I'm wonder how this can happen that packages are not deployed to the repository servers but announcing new files to be there? Or is this some kind of an incorrect listing update?

we rolled back to 10.0.4 - but if you already got 10.0.5 apt will not downgrade. we all wait eagerly for 10.0.6 .....

DeepDiver1975 avatar Jan 25 '18 12:01 DeepDiver1975

Just read it, the apt/repository issue can be solved with this solution: https://github.com/owncloud/core/issues/27775#issuecomment-302306800

andreaslink-de avatar Jan 25 '18 13:01 andreaslink-de

Please help testing with 10.0.6 RC1 from the testing repository, it's the same as 10.0.5 + the hot fix.

@crrodriguez can you post the convenient OBS download page link here ?

PVince81 avatar Jan 25 '18 17:01 PVince81

testing packages are here : https://download.owncloud.org/download/repositories/10.0.6:/testing/

crrodriguez avatar Jan 25 '18 17:01 crrodriguez

@PVince81, @crrodriguez I've just installed version 10.0.6 (Debian 9) over the faulty 10.0.5 version and it is working pretty fine, no more errors ;)

Thank you very much.

sahsanu avatar Jan 25 '18 17:01 sahsanu

I've also installed the new 10.0.6 RC version (Raspbian 9), it works well, I have access to the admin settings, thnak you very much :)

FabienLab avatar Jan 25 '18 19:01 FabienLab

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.

lock[bot] avatar Jul 31 '19 04:07 lock[bot]