[Nextcloud] A cloud for personal or group use

If I go the page Journalisation, it is a blank page… There is no logs !!

I had errors to, but after a while there are gone…

Not yet for me… and can’t found the file nextcloud.log anywhere

I don’t now what can I do ??

/var/www/nextcloud# sudo -u nextcloud php8.2 --define apc.enable_cli=1 occ log:tail
 ------- --------- --------------------------------------------------- --------------------------- 
  Level   App       Message                                             Time                       
 ------- --------- --------------------------------------------------- --------------------------- 
  Info    updater   OC\Repair\Events\RepairStepEvent: Repair step:      2024-01-10T12:25:25+00:00  
                    Repair DAV shares                                                              
                                                                                                   
  Info    updater   OC\Repair\Events\RepairStepEvent: Repair step:      2024-01-10T12:25:25+00:00  
                    Add background job to set the lookup server share                              
                    state for users                                                                
                                                                                                   
  Info    updater   OC\Repair\Events\RepairStepEvent: Repair step:      2024-01-10T12:25:25+00:00  
                    Add token cleanup job                                                          
                                                                                                   
  Info    updater   OC\Repair\Events\RepairStepEvent: Repair step:      2024-01-10T12:25:25+00:00  
                    Clean up abandoned apps                                                        
                                                                                                   
  Info    updater   OC\Repair\Events\RepairStepEvent: Repair step:      2024-01-10T12:25:25+00:00  
                    Add possibly missing system config                                             
                                                                                                   
  Info    updater   OC\Repair\Events\RepairStepEvent: Repair step:      2024-01-10T12:25:25+00:00  
                    Add AI tasks cleanup job                                                       
                                                                                                   
  Info    updater   OC\Repair\Events\RepairStepEvent: Repair step:      2024-01-10T12:25:25+00:00  
                    Queue a job to generate metadata                                               
                                                                                                   
  Info    updater   \OC\Updater::updateEnd: Update successful           2024-01-10T12:25:25+00:00  
                                                                                                   
  Info    updater   \OC\Updater::maintenanceDisabled: Turned off        2024-01-10T12:25:25+00:00  
                    maintenance mode                                                               
                                                                                                   
  Info    updater   \OC\Updater::resetLogLevel: Reset log level to      2024-01-10T12:25:25+00:00  
                    Warning(2)

Also thi page is blank https://domain.tld/nextcloud/settings/admin/logging
Is the page for Journalisation

Perhaps permissions due to issues ??

So I have similar issue like this one [Bug]: NC28 syntax error accessing /settings/admin/logging · Issue #1073 · nextcloud/logreader · GitHub

They said it is fixed, but I not for me ??

I have try var/www/nextcloud# sudo -u nextcloud php8.2 --define apc.enable_cli=1 occ config:app:set logreader relativedates --value="false" and restart php8.3-fpm service, but still not working…

Maybe best not to clutter this thread and post your feedback here https://github.com/YunoHost-Apps/nextcloud_ynh/pull/622

Is the metadata app enabled ?

If yes : it’s not yet compatible with Nextcloud 28. Hence the warnings. Disabling it should remove the warnings.

Here are a list of « not yet » compatible apps with NC 28 :

3 Likes

no

/var/www/nextcloud# sudo -u nextcloud php8.2 --define apc.enable_cli=1 occ app:list
Enabled:
  - bruteforcesettings: 2.8.0
  - calendar: 4.6.3
  - circles: 28.0.0-dev
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contacts: 5.5.1
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_external: 1.20.0
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - groupfolders: 16.0.1
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - nextcloud_announcements: 1.17.0
  - notes: 4.9.2
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - photos: 2.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - support: 1.11.0
  - survey_client: 1.16.0
  - systemtags: 1.18.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - user_ldap: 1.19.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - workflowengine: 2.10.0
Disabled:
  - activity: 2.20.0 (installed 2.15.0)
  - admin_audit: 1.18.0
  - encryption: 2.16.0
  - files_rightclick: 1.6.0 (installed 1.6.0)
  - suspicious_login: 6.0.0
  - twofactor_totp: 10.0.0-beta.2
  - updatenotification: 1.18.0 (installed 1.12.0)
  - weather_status: 1.8.0 (installed 1.2.0)

a fix has been pushed, please upgrade your Nextcloud with sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing --force

1 Like

Still have the error… But this time I could after a while see logs on the page https://domain.tld/nextcloud/settings/admin/logging (at first, opening this page, the navigator firefox told me this page is slowing four navigation, stop it ). Also I finally have some logs coming and a file nextcloud.log

But I still have this

I have try change in the webadmin pool high and footer_print high it have brokes nextcloud… well for now I have restore the backup of 27.1.4…

@ericg is the PostgreSQL branch ready to test also or not yet ?
Thanks for all the work and definitely looking forward to the speed bump.
I’m tired of how slow Nextcloud can be…

1 Like

Still a work in progress, see here : V2 postgresql by ericgaspar · Pull Request #597 · YunoHost-Apps/nextcloud_ynh · GitHub
(do not use it yet)

Migrating/updating from version 27.x should work (but could also break you system), but there is still some work to be done to upgrade from older version.

Edit. Tests are all green. Can be interesting to update for testing if you can.

1 Like

Let me try now. I have one instance perfectly migrated to PostgreSQL since now more than one year, but another for which every time I tried to migrate I got a strange error (https://github.com/YunoHost-Apps/nextcloud_ynh/pull/125#issuecomment-1443617413) with a “character not in repertoire” during the migration process.
An exception occurred while executing a query: SQLSTATE[22021]: Character not in repertoire: 7 ERREUR: séquence d'octets invalide pour l'encodage « UTF8 » : 0x00

The upgrade failed with ynh_warn 'Uhoh? The Nextcloud MySQL DB doesn'\''t exist? We are supposed to move it to PostgreSQL... Maybe it was already migrated?' error

https://paste.yunohost.org/raw/uxuzimaqut

ah, the error is: ./upgrade: line 75: ynh_warn: command not found it is fixed (ynh_warn -> ynh_print_warn).
This should be fixed.
Is this Nextcloud already migrated to PostgreSQL? can you precise from what Nextcloud you are updating?

Yes, it’s already migrated to postgreSQL very long time ago.
I’m upgrading from 27.0.2

This should be fixed.

Do you mean I can relaunch the upgrade to try again ?