-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error when exporting user: Could not export user information #344
Comments
Hi, I have the similar issue. Trying to run export and gui says successful but no file is created. |
Could you provide the full nextcloud.log contents @hartsberger? |
Hi @Pytal here is the relevant content during the time the export command from above is executed:
After I saw the message regarding the circles app I enabled it.
|
@hartsberger Could you apply the change in #353 and run again with -vvv ? This should show the actual error. |
Hi @come-nc,
and the nextcloud logfile:
|
@hartsberger Sorry about that, can you try https://github.com/nextcloud/user_migration/pull/364/files instead? (replace This should finally show what the root cause is. |
Hi @come-nc,
and the nextcloud logfile:
|
@hartsberger Are you on 32bits? Can you try this patch: diff --git a/deepdiver/zipstreamer/src/Count64.php b/deepdiver/zipstreamer/src/Count64.php
index a7a0fef1..5f881f5f 100644
--- a/deepdiver/zipstreamer/src/Count64.php
+++ b/deepdiver/zipstreamer/src/Count64.php
@@ -113,7 +113,7 @@ function unpack32le($data) {
*/
function pack64le($data) {
if (is_object($data)) {
- if ("Count64_32" == get_class($data)) {
+ if (Count64_32::class === get_class($data)) {
$value = $data->_getValue();
$hiBytess = $value[0];
$loBytess = $value[1]; Or this one: diff --git a/deepdiver/zipstreamer/src/Count64.php b/deepdiver/zipstreamer/src/Count64.php
index a7a0fef1..311378aa 100644
--- a/deepdiver/zipstreamer/src/Count64.php
+++ b/deepdiver/zipstreamer/src/Count64.php
@@ -113,7 +113,7 @@ function unpack32le($data) {
*/
function pack64le($data) {
if (is_object($data)) {
- if ("Count64_32" == get_class($data)) {
+ if ($data instanceof Count64_32) {
$value = $data->_getValue();
$hiBytess = $value[0];
$loBytess = $value[1]; |
Hi @come-nc, yes, I am on Raspberry Pi 32 bit arm. I used the first patch and the command succeeded:
and the nextcloud logfile:
Even via gui it works now. Thank you |
Thank you, I will open a PR upstream then |
Error when exporting user.
0 bytes file is created with success message (GUI).
Nextcloud logfile says:
OCP\UserMigration\UserMigrationException: Could not export user information.
Trying to export an user with occ gives more information:
Any ideas what could cause the problem?
Here is my environment / system report:
Latest Nextcloud Docker image running on Raspberry Pi 4.
OS: Raspbian GNU/Linux 10 (buster) 32 bit arm
Model: Raspberry Pi 4 Model B Rev 1.1
Server configuration detail
Operating system: Linux 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Webserver: Apache/2.4.54 (Debian) (apache2handler)
Database: pgsql PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on arm-unknown-linux-gnueabihf, compiled by gcc (Debian 8.3.0-6) 8.3.0, 32-bit
PHP version: 8.1.14
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, standard, posix, Reflection, Phar, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, bcmath, exif, gd, gmp, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache
Nextcloud version: 25.0.3 - 25.0.3.2
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
Signing status
[]
List of activated apps
Configuration (config/config.php)
Cron Configuration: Array
(
[backgroundjobs_mode] => cron
[lastcron] => 1674246602
)
External storages: files_external is disabled
Encryption: no
User-backends:
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0
The text was updated successfully, but these errors were encountered: