-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can not enter the settings(nextcloud) after updating to NC13 #62
Comments
I tried to reproduce your problem by setting up a system with Nextcloud 12, installed ocDownloader and then updated to Nextcloud 13. This works so far, I can access the settings page. I suspect that something went wrong during the upgrade. Can you try to remove the app and reinstall it from the App Store? I released a new version with fixes for Nextcloud 13+. |
(by the way.. my experience) behind the "php occ upgrade" works all pretty well, include my custom skins/theme. |
@ion-lane Do you use a custom theme? I am suspecting this might indeed be the problem. |
I remove the app and reinstall it from the app store, but also can not enter the settings.
|
@e-alfred, yes i'm using custom theme. I tried to remove it from the configuration and turn on the application Theming, but it did not help. |
Run check-code using occ command:
mysql> show tables; Maybe the problem with this? |
I know that the app still has a number of problems regarding things that are considered deprecated. I am fixing them piece by piece if you take a look into issue #58. If you like, you can help me with that. Anyway, using style() is not deprecated and the bug seems to not come up with a default installation and the default theming. Can you share the changes to the theming you made? |
Hello, I am having the same problem running nextcloud 13 in a docker container. The app itself seems to be working fine but going into the settings throw an internal server error. I have the exact same trace than the one in the riginal report in my nextcloud.log It was working fine in nextcloud 12. Thanks |
I just migrated from owncloud 9.1.6 to nextcloud 13.0.0 (following proper upgrade path) and I have the same issue. Debian Stretch with apache 2.4.25, php 7.0.27, mariadb 10.1.26. Nextcloud log error:
Commenting out the following in It seems that My temporary fix is to require the file (full path) to the functions file in |
@mozzwald i commented style and script and was able to enter the settings. But changes are not saved. |
@ion-lane just add this as new line to the personal.php file at the top before the style and script lines:
Be sure to change /var/www/cloud to your actual nextcloud path |
@mozzwald No, I get the same error. |
It seems like Nextcloud 13 has a number of theming issues that will probably be fixed in 13.0.1. The temporary workaround from @mozzwald usually shouldn't be necessary. Can anyone with these issues try to reset the SCSS cache as described here: |
@e-alfred I tried to reset the SCSS cache, it did not help me. |
I was surpised, that I can not enter to user settings with old users. Recently created users were able to see their settings. I added in table Accounts into data column the values of o working user and changed the name in data column to the appropirate user. Now, all users can use their settings. |
I checked now whether I can go into the settings. Happened. I do not know what changed, possibly after updating PHP to 7.1.15 or Apache to 2.4.29-r1. |
@ion-lane I suspect that something was cached probably. Apache sometimes needs a restart after changes were made in PHP files. @Sonargucker Which DBMS do you use? Do you get the exact same error message? |
I still have issues with the thing. just updated to 13.0.4 and pulled ocdownloader right from the store and the settings page dies. Log:
I took the liberty of making it a bit more readable |
I have the same issue on a brand new NextCloud 13 installation. Enabling ocdownloader causes the settings page to become inaccessible.
|
I use MySQL. there are no contents. The Structure is ID(int/11, primary/autoincrement), UID (varchar/64, utf8_bin), KEY (varchar/100, utf8_bin), VAL (varchar/255, utf8_bin) |
I use MariaDB. Same situation as with @My1. |
Screenshoot: Actual Openmandriva 3.X apache-mpm-prefork-2.4.29-1-omv2015.0.x86_64 PHP 7.2.3 (cli) (built: Mar 6 2018 23:45:47) ( NTS ) no problem.. it works, maybe do you not found the config ..
and maybe a screenshoot in Konsole/xterm or in the Shell/Surface |
Additionally, here's also the trace log with debug set to true:
It's definitely an odd issue, because I have other addons that add entries to personal settings menu that work just fine. |
This probem should be fixed by 374be75. |
Nextcloud version 13.0.0.14
Operating system Gentoo
Apache -2.4.27-r1
PHP version 7.1.13
After updating from NC 12.0.5 to NC 13.0.0.14 I can not enter the settings nextcloud under any user.
If disable application ocDownloader, then i can enter the settings.
Error:
nextcloud.log:
{"reqId":"WnwuAsCoZGQAAFomNskAAAAK","level":3,"time":"2018-02-08T11:01:24+00:00","remoteAddr":"192.168.100.2","user":"ivan","app":"index","method":"GET","url":"\/settings\/user","message":"Exception: {\"Exception\":\"Error\",\"Message\":\"Call to undefined function style()\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(706): include()\\n#1 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Settings\\\/Manager.php(497): OC_App::getForms('personal')\\n#2 \\\/var\\\/www\\\/nextcloud\\\/settings\\\/Controller\\\/CommonSettingsTrait.php(89): OC\\\\Settings\\\\Manager->getPersonalSections()\\n#3 \\\/var\\\/www\\\/nextcloud\\\/settings\\\/Controller\\\/CommonSettingsTrait.php(42): OC\\\\Settings\\\\Controller\\\\PersonalSettingsController->formatPersonalSections('personal', 'personal-info')\\n#4 \\\/var\\\/www\\\/nextcloud\\\/settings\\\/Controller\\\/CommonSettingsTrait.php(120): OC\\\\Settings\\\\Controller\\\\PersonalSettingsController->getNavigationParameters('personal', 'personal-info')\\n#5 \\\/var\\\/www\\\/nextcloud\\\/settings\\\/Controller\\\/PersonalSettingsController.php(61): OC\\\\Settings\\\\Controller\\\\PersonalSettingsController->getIndexResponse('personal', 'personal-info')\\n#6 [internal function]: OC\\\\Settings\\\\Controller\\\\PersonalSettingsController->index('personal-info')\\n#7 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(161): call_user_func_array(Array, Array)\\n#8 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(91): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OC\\\\Settings\\\\Controller\\\\PersonalSettingsController), 'index')\\n#9 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OC\\\\Settings\\\\Controller\\\\PersonalSettingsController), 'index')\\n#10 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('OC\\\\\\\\Settings\\\\\\\\Con...', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#11 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#12 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#13 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/base.php(998): OC\\\\Route\\\\Router->match('\\\/settings\\\/user')\\n#14 \\\/var\\\/www\\\/nextcloud\\\/index.php(37): OC::handleRequest()\\n#15 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/ocdownloader\\\/settings\\\/personal.php\",\"Line\":17}","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/63.0.3239.132 Safari\/537.36 OPR\/50.0.2762.67","version":"13.0.0.14"}
/var/log/apache2/ssl_access_log:
The text was updated successfully, but these errors were encountered: