Hope of a running nextcloud! coz i fail all the time . . šŸ˜¢

thanks @bb77 this was in the snap install test
itā€™s deleted already - it was just to illustrate how any install brings error messages straight after install

If you donā€™t mind, my two last posts from this morning show the errors i get from the actual running NC that we use but is buggy ā€¦

iā€™d be more than happy to understand and fix it
though iā€™m ready to reinstall in another way, and iā€™ll try AIO today

thanks i appreciate a lot your concern

1 Like

Just to mention also a simple an easy way to run NC is Nextcloudpi.
It is possible to run it on many ARM- and x86 devices.
The installation can be done with the image (for RPI), docker or a curl installer script.
The docs are here: https://docs.nextcloudpi.com/

In what way is it buggy? Are you still having an actual problem, or are you just bothered by the log messages? Production systems are almost never completely free of any warnings. Youā€™ll always have background port scans and access attempts on the internet that generate some.

Of course to be fairā€¦ I spent yesterday removing a customerā€™s dead domain controller from Active Directory, seizing FSMO roles, building a new DC, and doing an authoritative sysvol restore on another oneā€¦ so I may be a little numb to log errors at the momentā€¦

The ones related to SQL above are what would concern me. Did you say what your database is and how itā€™s configured?

1 Like

hi @KarlF12, thanks for asking
buggy; i find many fatal errors in the logs:
typically:

  • Collectives will announce an error while trying to create, edit or delete a page, refusing the action.
  • Contacts wonā€™t create user group.
  • Talk will not display the video sometimes.
  • Roll down menus will not show all the groups.
  • Menus would hide one another.
  • AppOrder will not apply to every user.
  • External site will show a dead link to people outside of the groupe limitation.
  • Opening a text file wonā€™t be possible.
  • what else ā€¦ ? let me think ^^

On another hand, do you mean I shouldnā€™t worry about the errors ou fatal errors ?

I use Mariadb latest, apache2 latest, php 8.1, ubuntu 22,04
So far I understand that file locking blocks edition or deletion.
Plus the log about the doubled primary key ā€¦ i donā€™t understand this one, but thought it was file locking too.

Do you have a TURN server set up and configured correctly?

1 Like

no, iā€™ve discovered recently that it was very necessary, but then iā€™m surprised that it happen to run many times without it ā€¦ :thinking:

https://nextcloud-talk.readthedocs.io/en/latest/TURN/

1 Like

hi, i think iā€™m getting somewhere:

some of the main problems i face are: MySQL exception, database lost, unable to open/edit/rename a .md file - same with Collectives.

I have removed Everyone Group and Collectives, and open a file or edit it is now possible.

Could it be an issue?

about Talk and coTURN, iā€™ve followed these steps:

but iā€™ve added both DCP and UDP for STUN and TURN

iā€™ve installed AIO
it a nice automatic way to install NC :+1:
Activity app widget wonā€™t show anything though . . again:

  • Here is a list of the the regular apps we need to be installed:
    Activities for shared file downloads 1.13.0
    Activity 2.16.0 Featured
    Announcement center 6.3.1 Featured
    AppOrder 0.15.0
    Approval 1.0.10
    Breeze Dark 24.0.2
    Brute-force settings 2.4.0 Featured
    Calendar 3.4.2 Featured
    Circles 24.0.0 Featured
    Collaborative tags 1.14.0 Featured
    Comments 1.14.0 Featured
    Community Document Server 0.1.12
    Contacts 4.2.0 Featured
    Contacts Interaction 1.5.0 Featured
    Dashboard 7.4.0 Featured
    Deck 1.7.1 Featured
    Deleted files 1.14.0 Featured
    Federation 1.14.0 Featured
    File sharing 1.16.2 Featured
    Group folders 12.0.1 Featured
    Group quota 0.1.8
    Impersonate 1.11.0 Featured
    Log Reader 2.9.0 Featured
    Mail 1.13.7 Featured
    Mind Map 0.0.26
    Monitoring 1.14.0 Featured
    Nextcloud announcements 1.13.0 Featured
    Notifications 2.12.0 Featured
    ONLYOFFICE 7.5.4 Featured
    Password policy 1.14.0 Featured
    PDF viewer 2.5.0 Featured
    Photos 1.6.0 Featured
    Pico CMS 1.0.19
    Privacy 1.8.0 Featured
    Quota warning 1.14.0
    Ransomware protection 1.13.0
    Recommendations 1.3.0 Featured
    Right click 1.3.0 Featured
    Share by mail 1.14.0 Featured
    Talk 14.0.3 Featured
    Talked 0.4.0
    Tasks 0.14.4 Featured
    Text 3.5.1 Featured
    Theming 1.15.0 Featured
    TimeManager 0.3.2
    Unrounded Corners 1.0.3
    Update notification 1.14.0 Featured
    User status 1.4.0 Featured
    Versions 1.17.0 Featured
    Video player 1.13.0 Featured
    Weather status 1.4.0 Featured
    Welcome 1.0.1
    Zipper

The first logs after few minutes of usage:

Error	no app in context	OCP\Files\NotFoundException: 		2022-08-29T02:46:56+0200
Error	no app in context	OCP\Files\NotFoundException: 		2022-08-29T02:46:46+0200
Error	no app in context	OCP\Files\NotFoundException: 		2022-08-29T02:46:24+0200
Fatal	spreed	RuntimeException: There can only be one Talk backend		2022-08-29T01:58:28+0200

This OCP error is redundant

[no app in context] Error: OCP\Files\NotFoundException:  at <<closure>>

 0. /var/www/html/lib/private/Files/Node/Node.php line 344
    OC\Files\Node\Node->getFileInfo()
 1. /var/www/html/lib/private/Files/Node/Node.php line 158
    OC\Files\Node\Node->getMountPoint()
 2. /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php line 188
    OC\Files\Node\Node->getStorage()
 3. /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php line 90
    OCA\Maps\Hooks\FileHooks->isUserNode("*** sensitive parameters replaced ***")
 4. <<closure>>
    OCA\Maps\Hooks\FileHooks->OCA\Maps\Hooks\{closure}("*** sensitive parameters replaced ***")
 5. /var/www/html/lib/private/Hooks/EmitterTrait.php line 106
    call_user_func_array(Closure {}, ["*** sensitive  ... "])
 6. /var/www/html/lib/private/Hooks/PublicEmitter.php line 40
    OC\Hooks\BasicEmitter->emit("\\OC\\Files", "postRename", ["*** sensitive  ... "])
 7. /var/www/html/lib/private/Files/Node/Root.php line 143
    OC\Hooks\PublicEmitter->emit("\\OC\\Files", "postRename", ["*** sensitive  ... "])
 8. <<closure>>
    OC\Files\Node\Root->emit("\\OC\\Files", "postRename", ["*** sensitive  ... "])
 9. /var/www/html/lib/private/Files/Node/LazyFolder.php line 72
    call_user_func_array([OC\Files\Node\Root {},"emit"], ["\\OC\\Files"," ... ]])
10. /var/www/html/lib/private/Files/Node/LazyFolder.php line 100
    OC\Files\Node\LazyFolder->__call("emit", ["\\OC\\Files"," ... ]])
11. /var/www/html/lib/private/Files/Node/HookConnector.php line 190
    OC\Files\Node\LazyFolder->emit("\\OC\\Files", "postRename", ["*** sensitive  ... "])
12. /var/www/html/lib/private/legacy/OC_Hook.php line 106
    OC\Files\Node\HookConnector->postRename(["/Collectives/g ... "])
13. /var/www/html/lib/private/Files/View.php line 866
    OC_Hook::emit("OC_Filesystem", "post_rename", ["/Collectives/g ... "])
14. /var/www/html/lib/private/Files/Node/Node.php line 430
    OC\Files\View->rename("/admin/files/Co ... d", "/admin/files/Co ... d")
15. /var/www/html/custom_apps/collectives/lib/Service/PageService.php line 597
    OC\Files\Node\Node->move("/admin/files/Co ... d")
16. /var/www/html/custom_apps/collectives/lib/Service/PageService.php line 623
    OCA\Collectives\Service\PageService->renamePage(OC\Files\Node\Folder {}, 437, OC\Files\Node\File {}, "home")
17. /var/www/html/custom_apps/collectives/lib/Controller/PageController.php line 129
    OCA\Collectives\Service\PageService->rename(1, 437, 440, "home", "admin")
18. /var/www/html/custom_apps/collectives/lib/Controller/ErrorHelper.php line 25
    OCA\Collectives\Controller\PageController->OCA\Collectives\Controller\{closure}("*** sensitive parameters replaced ***")
19. /var/www/html/custom_apps/collectives/lib/Controller/PageController.php line 133
    OCA\Collectives\Controller\PageController->handleErrorResponse(Closure {}, OC\AppFramework\ScopedPsrLogger {})
20. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 225
    OCA\Collectives\Controller\PageController->rename(1, 437, 440, "home")
21. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 133
    OC\AppFramework\Http\Dispatcher->executeController(OCA\Collectives\ ... {}, "rename")
22. /var/www/html/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Collectives\ ... {}, "rename")
23. /var/www/html/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main("OCA\\Collective ... r", "rename", OC\AppFramework\ ... {}, ["1","437","440" ... "])
24. /var/www/html/lib/base.php line 1023
    OC\Route\Router->match("/apps/collectiv ... 0")
25. /var/www/html/index.php line 36
    OC::handleRequest()

PUT /apps/collectives/_api/1/_pages/parent/437/page/440
from 93.5.120.234 by admin at 2022-08-29T00:46:56+00:00

Iā€™m still questioning the stability of nextcloud coz iā€™ve been though so many installs. yet the same error right after install. But I donā€™t find an answer to these OC logs.

Does it make sense to anybody?

Not sure what your issue is there. I have a production AIO and a production Docker system and they both show activity in the dashboard widget.

I still get the sense that youā€™re in search of an answer to a nonexistent problem.

I get minor little warnings in my logs sometimes, and yet I donā€™t experience any actual problems. My docker instance has been running since Nextcloud version 16 I think and has always been stable.

1 Like

This seems to be caused by the maps app. You can try to disable it and see if it fixes the issue.

haha then you are more than welcome to follow me in my delusional quest ^^

but look close, right after install, i get a FATAL ERROR
Text and Collectives wonā€™t open the files to edit them

At this very moment, I have 4 different installs:

  • one script install in hestia panel on CONTABO VPS
  • one manual install on CONTABO VPS
  • one AIO on CONTABO VPS
  • one manual install by an IT ingenior that accepted to help us on DIGITAL OCEAN

none of these 4 is working properly
they all give errors and fatal errors few minutes after few apps are installed
(all tested app since we removed Community Document Server and ONLYOFFICE)

iā€™m afraid that without a clear answer, all this work will have been useless
because our teams should not be given this tools any longer in production.
Does it make sense to every one here? I wish i found the problem.

I have shared many logs here on the forum, so far Iā€™m only getting answers that try to make me chose another option. So far, iā€™ve managed to install NC in every way. But as soon as it starts working: fatal error
and i donā€™t get solution to these mains OC / OCD / DB errors.

Who knows what is it about?
Who has experienced them?
Whoā€™s got a solution?
please . .

ha ha the manual install the IT man did yesterday, is off line this morning . .
iā€™m afraid I wonā€™t be the only one with a problem ^^

I think the errors are likely caused by some of the additional apps that you are installing all the time but did not inform us about. As you can see by looking at the logs, you may be able to find out which one is causing the issue.

thanks @szaimen
looking at the errors, I have uninstall Everybody group and Collectives.
Same problems. See, the instance installed yesterday by an ingenior is off line this morning.

Can i really uninstall Text app? What are we going to do without this app in NC?

I thank you for your answer. May I ask you an advice?
Do you have a solution to correct these errors?

So you do not have the maps app installed? Based on the logs you provided the issue seemingly was caused by this appā€¦

oh, it seems that i didnā€™t get to read one of your messages, sorry.
Yes it is disabled and removed.

On my main NC install - the one that iā€™m really tryin to get to function properly - the three EverybodyGroup, Collectives, Maps are removed, the server rebooted.
Look at a .md file when I try to open it:

I come to think that the problem is not the apps, but the cache system.
Coz now iā€™m reading that MindMap has a problem.
All these app where included in OCP errors.

Without knowing what this person did or didnā€™t do or what he knows about Nextcloudā€¦ there is really nowhere to go with this.

Itā€™s a text editing app for use in the web browser. Nextcloud itself can work without this function.

Too many questions about thisā€¦ What is this file? Was it created on Nextcloud or uploaded to it? Created with what program? Are you unable to open any text files at all in the browser?

Well look, I think itā€™s also fair to say that many of us have looked at this and still arenā€™t clear on what symptoms youā€™re having other than some log entries that may or may not indicate an actual problem. Weā€™re also 35 posts deep and have yet to see the Nextcloud and web server config files, and really have no idea which symptoms are from which of your 4 installs.

I can just imagine the kinds of errors that must be in Google Driveā€™s server logs, while the user experiences no problems at all.

If weā€™re going to continue this then letā€™s troubleshoot a visible problem that you experience rather than chasing random log entries.

2 Likes

He installed the manual way, with nextcloud recommandations

Text app is part of our working process. We donā€™t use nextcloud as a simple file sharing, but a collaborative platform

itā€™s a simple text.md file created in nextcloud
yes unable to open text.md files, created in nextcloud

server settings in post 15
nc conf about cache in 16

I can just imagine the kinds of errors that must be in Google Driveā€™s server logs, while the user experiences no problems at all. :rofl: yi bet too !

visible problems are listed several times in the thread

Here my complete NC conf.php

<?php
$CONFIG = array (
  'instanceid' => '-',
  'passwordsalt' => 'I1/-+',
  'secret' => '-',
  'trusted_domains' => 
  array (
    0 => 'domain.net',
  ),
  'default_language' => 'fr',
  'default_locale' => 'fr_FR',
  'default_phone_region' => 'FR',
  'datadirectory' => '/home/public_html/data',
  'skeletondirectory' => '/home/public_html/data/skeleton',
  'templatedirectory' => '',
  'dbtype' => 'mysql',
  'version' => '24.0.4.1',
  'overwrite.cli.url' => 'https://domain.net',
  'dbname' => '-',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '-',
  'dbpassword' => '-',
  'installed' => true,
  'mail_from_address' => '-',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'domain;net',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'mail.domain.net',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'mail@domain.net',
  'mail_smtppassword' => '-',
  'allow_user_to_change_display_name' => true,
  'loglevel' => 2,
#  'memcache.local' => '\\OC\\Memcache\\APCu',
#  'memcache.distributed' => '\\OC\\Memcache\\Redis',
#  'filelocking.enabled' => 'true',
#  'memcache.locking' => '\\OC\\Memcache\\Redis',
#  'redis' => [
#    'host'     => '/var/run/redis/redis.sock',
#    'port'     => 0,
#    'dbindex'  => 0,
#    'password' => '',
#    'timeout'  => 1.5,
#    ],
  'htaccess.RewriteBase' => '/',
#  'app_install_overwrite' => 
# array (
#  0 => 'documentserver_community',
# ),
  'maintenance' => false,
);

Visible problems mentioned above:

  • Collectives will announce an error while trying to create, edit or delete a page, refusing the action.
  • Contacts wonā€™t create user group.
  • Roll down menus will not show all the groups.
  • Right hand side menu covers top right user roll down menu.
  • AppOrder will not apply to every user.
  • External site will show a dead link to people outside of the groupe limitation.
  • Opening a text.md file wonā€™t be possible, just once in a while
  • Activity Widget shows no entry
  • sometimes DB connection is lost.

Can you tell me where else I should look and which information to pass to you guys if youā€™re still willing to help?