Open korbanh opened 4 years ago
I have the same problem. Cannot login to Nextcloud.
Glad it I am not alone.
I think I've found a temporary solution. The app that required updating in my case was community document server. I stopped nextcloud, went to appdata drilled down to nextcloud/www/nextcloud/apps I renamed the documentserver_community directory to documentserver_community.bak and restarted Nextcloud. I can now log in.
Me too - thanks for the temporary fix!
That did work. I took it a step further and tried to a few things
The outcome was the same and it seems to be an issue with the Community Document Server app. Just have to wait till it is fixed.
Had this same issue, Below is the command to fix it if you're running nextcloud with linuxserver.io's container.
sudo docker exec -it nextcloud sudo -u abc php /config/www/nextcloud/occ app:disable documentserver_community
If you are running nextcloud other ways, make sure you use this command as the correct user.
occ app:disable documentserver_community
After that you can upgrade normally to the latest nextcloud version.
Is the code in question. It seems some dependencies are missing for a repair step. I would comment the line and run the upgrade again.
I think I've found a temporary solution. The app that required updating in my case was community document server. I stopped nextcloud, went to appdata drilled down to nextcloud/www/nextcloud/apps I renamed the documentserver_community directory to documentserver_community.bak and restarted Nextcloud. I can now log in.
had the same issue now fixed change the file and big thanks to the community
Just upgraded from 18.0.5 to 18.0.6 and had no issues with the documentserver_community
app. I would like to ask everyone to add (edit your existing comment - don't add a new one) the issue template.
And in addition:
apps/documentserver_community/3rdparty/onlyoffice/documentserver/server/tools/allfontsgen
exists (replace apps with your app directory)ldd apps/documentserver_community/3rdparty/onlyoffice/documentserver/server/tools/allfontsgen
(also replace apps with your app directory)On my working instance:
ldd allfontsgen
linux-vdso.so.1 (0x00007ffd6a7a6000)
libgraphics.so => not found
libkernel.so => not found
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0ded885000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0ded668000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0ded2c9000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0deda9c000)
ldd allfontsgen linux-vdso.so.1 (0x00007ffd6a7a6000) libgraphics.so => not found libkernel.so => not found libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0ded885000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0ded668000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0ded2c9000) /lib64/ld-linux-x86-64.so.2 (0x00007f0deda9c000)
I get the exact same output.
But when trying to activate DSC I get this message:
[settings] Error: Exception: sh: ../../tools/allfontsgen: not found
at <<closure>>
0. /config/www/nextcloud/apps/documentserver_community/lib/LocalAppData.php line 78
OCA\DocumentServer\Document\FontManager->OCA\DocumentServer\Document\{closure}("*** sensitive parameters replaced ***")
1. /config/www/nextcloud/apps/documentserver_community/lib/Document/FontManager.php line 76
OCA\DocumentServer\LocalAppData->getReadLocalPath(OC\Files\SimpleFS\SimpleFolder {}, Closure {})
2. /config/www/nextcloud/apps/documentserver_community/lib/Migration/RebuildFonts.php line 46
OCA\DocumentServer\Document\FontManager->rebuildFonts()
3. /config/www/nextcloud/lib/private/Repair.php line 104
OCA\DocumentServer\Migration\RebuildFonts->run(OC\Repair {})
4. /config/www/nextcloud/lib/private/legacy/app.php line 981
OC\Repair->run()
5. /config/www/nextcloud/lib/private/Installer.php line 160
OC_App::executeRepairSteps("documentserver_community", {step: "OCA\\Doc ... "})
6. /config/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php line 443
OC\Installer->installApp("documentserver_community")
7. /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 170
OCA\Settings\Controller\AppSettingsController->enableApps(["documentserver_community"], [])
8. /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings\Con ... {}, "enableApps")
9. /config/www/nextcloud/lib/private/AppFramework/App.php line 125
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con ... {}, "enableApps")
10. /config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main("OCA\\Settings\\ ... r", "enableApps", OC\AppFramework\ ... {}, {_route: "settin ... "})
11. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "settin ... "})
12. /config/www/nextcloud/lib/private/Route/Router.php line 299
call_user_func(OC\AppFramework\ ... {}, {_route: "settin ... "})
13. /config/www/nextcloud/lib/base.php line 1008
OC\Route\Router->match("/settings/apps/enable")
14. /config/www/nextcloud/index.php line 38
OC::handleRequest()
Can you try navigating into apps/documentserver_community/3rdparty/onlyoffice/documentserver/server/FileConverter/bin
and then run ldd ../../tools/allfontsgen
from there
8335da9 should stop the error from breaking upgrades at least.
ldd
in FileConverter says:
ldd ../../tools/allfontsgen
linux-vdso.so.1 (0x00007ffe7ed75000)
libgraphics.so => ./libgraphics.so (0x00007f969d343000)
libkernel.so => ./libkernel.so (0x00007f969cf22000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f969cf01000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f969cee0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f969cd1f000)
libUnicodeConverter.so => ./libUnicodeConverter.so (0x00007f969cad1000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f969c94d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f969c7ca000)
/lib64/ld-linux-x86-64.so.2 (0x00007f969db53000)
libicuuc.so.58 => ./libicuuc.so.58 (0x00007f969c404000)
libicudata.so.58 => ./libicudata.so.58 (0x00007f969a904000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f969a8ff000)
Could this also be caused by me using the linuxserver.io docker for nextcloud?
Im having the same issue as well. Im not sure what happened with this update, but its been a PITA.
This is my output from the second request made from the FileConverter/bin dir:
ldd ../../tools/allfontsgen
linux-vdso.so.1 (0x00007ffc8af1b000)
libgraphics.so => ./libgraphics.so (0x000014d76c3a9000)
libkernel.so => ./libkernel.so (0x000014d76bf88000)
libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x000014d76bf5f000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x000014d76bf3d000)
libc.so.6 => /lib64/libc.so.6 (0x000014d76bd58000)
libUnicodeConverter.so => ./libUnicodeConverter.so (0x000014d76bb0a000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x000014d76b92a000)
libm.so.6 => /lib64/libm.so.6 (0x000014d76b7dd000)
/lib64/ld-linux-x86-64.so.2 (0x000014d76cbb9000)
libicuuc.so.58 => ./libicuuc.so.58 (0x000014d76b417000)
libicudata.so.58 => ./libicudata.so.58 (0x000014d769917000)
libdl.so.2 => /lib64/libdl.so.2 (0x000014d769912000)
I dont seem to have the same output as you guys. Im using linuxserver.io as well, but in UNRAID.
Any help would be great.
I edited info.xml and commented out this section:
**<repair-steps>
<post-migration>
<step>OCA\DocumentServer\Migration\RebuildFonts</step>
</post-migration>
</repair-steps>**
nextCloud opened just fine, and I disabled Document Server.
There is more than one of those files, and because I've closed it, the path is not visible to me, but this has worked for me.
Installed the update but CDS is still not running.
Exception: sh: ../../tools/allfontsgen: not found
in Nextclouds logs (but I expect that) and CDS is marked as Active.I also updated CDS to 0.1.7 by downloading the latest from: CDS' git release page & replacing the enitre folder. I then enabled CDS via OCC and I logged-in. No Errors! This is resolved (for me) but I'm not out of the woods yet.
My new issue is I cannot connect to the app store. I've tested it by toggling between the stable (18.0.6) & beta (19.0.0) channels. The updater outputs: Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore.
Additionally when logged-in as Admin and choose any of the App/Categories, I have blank pages. Not sure as others update if they will experience this also. Due to this, I can create new documents but cannot edit them as OnlyOffice wont load.
I still can't see any apps. I played w/ OCC by running the following commands in this order: documentserver:flush, app:update --all, update:check, maintenance:update:htaccess, integrity:check-core, db:add-missing-indices, check, maintenance mode --on, maintenance mode --off
. Then I logged-in as Admin to see if any of these commands fixed the lack of an app store but they did not.
Next I ran maintenance:repair
and here is the output:
odroid@odroid-buster64:~$ sudo -u www-data php /var/www/html/occ maintenance:repair
- Repair MySQL collation
- All tables already have the correct collation -> nothing to do
- Repair mime types
- Clean tags and favorites
- 0 tags of deleted users have been removed.
- 1 tags for delete files have been removed.
- 0 tag entries for deleted tags have been removed.
- 0 tags with no entries have been removed.
- Repair invalid shares
- Move .step file of updater to backup location
- Fix potential broken mount points
- No mounts updated
- Add log rotate job
- Clear frontend caches
- Image cache cleared
- SCSS cache cleared
- JS cache cleared
- Clear every generated avatar on major updates
- Add preview background cleanup job
- Queue a one-time job to cleanup old backups of the updater
- Cleanup invalid photocache files for carddav
- Add background job to cleanup login flow v2 tokens
- Remove potentially over exposing share links
- No need to remove link shares.
- Clear access cache of projects
- Switches from deprecated "production" to "stable" update channel
- Sets the enterprise logo
- Repair step already executed
- Reset generated avatar flag
- Update name of the stored view
- Fix component of birthday calendars
- 3 birthday calendars updated.
- Regenerating birthday calendars to use new icons and fix old birthday events without year
- Repair step already executed
- Fix broken values of calendar objects
0 [>---------------------------]
- Registering building of calendar search index as background job
- Repair step already executed
- Registering background jobs to update cache for webcal calendars
- Added 0 background jobs to update webcal calendars
- Registering building of calendar reminder index as background job
- Repair step already executed
- Clean up orphan event and contact data
- 0 events without a calendar have been cleaned up
- 0 properties without an events have been cleaned up
- 0 changes without a calendar have been cleaned up
- 0 cached events without a calendar subscription have been cleaned up
- 0 changes without a calendar subscription have been cleaned up
- 0 contacts without an addressbook have been cleaned up
- 0 properties without a contact have been cleaned up
- 0 changes without an addressbook have been cleaned up
- Remove activity entries of private events
- Removed 0 activity entries
- Rebuild font library
- WARNING: Error while trying to rebuild fonts, if you had any custom fonts configured you'll
need to run `occ documentserver:fonts --rebuild`
- Fix the share type of guest shares when migrating from ownCloud
- Copy the share password into the dedicated column
- Set existing shares as accepted
- Remove any playlist files mistakenly added to music_tracks table
- Combine multi-disk albums and store disk numbers per track
- Set creation date for playlists without one
- Clean up meta table
- Update OAuth token expiration times
- Create help command
- Invalidate access cache for projects conversation provider
- Invalidation not required
- Switches from default updater server to the customer one if a valid subscription is available
- Repair step already executed
- Add background job to check for backup codes
- Populating added database structures for workflows
odroid@odroid-buster64:~$ sudo -u www-data php /var/www/html/occ documentserver:fonts --rebuild
rebuilding
sh: 1: ../../tools/allfontsgen: Exec format error
As you can see the allfontsgen is still an issue despite being on CDS 0.1.7. (I'm running an arm64 board if this helps.)
I'm using version 18.0.6 of Nextcloud along with version 0.1.7 of the document server, and I'm running on bare metal (no containers). I had a similar problem with the allfontsgen
executable not finding the linked libraries. I found the library files in the server/FileConverter/bin/
directory of the documentserver_community
base directory. All I did was add symbolic links to the associated library files in the server/tools/
directory. While it's only a hack, it fixed my problem.
@fNCZsp5AV5n8d5,
As you can see the allfontsgen is still an issue despite being on CDS 0.1.7. (I'm running an arm64 board if this helps.)
Regarding OO community on ARM64, see if this solution helps you: https://help.nextcloud.com/t/nc-onlyoffice-on-arm64-using-qemu/83913
Cheers, mbcon
How to use GitHub
Steps to reproduce
Stuck in maintenance mode and I cant get out.
Here is the error I am getting.
Looking for any help I can get to fix this. Thanks