# Migration question

**URL:** <https://forum.pydio.com/t/migration-question/3738>\
**Category:** Pydio Cells\
**Created:** [February 26, 2021, 9:21am UTC](https://forum.pydio.com/t/migration-question/3738 "2021-02-26T09:21:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![uzsdd](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@uzsdd](https://forum.pydio.com/u/uzsdd)\
**Post date:** [February 26, 2021, 9:21am UTC](https://forum.pydio.com/t/migration-question/3738/1 "2021-02-26T09:21:26Z")

</div>

Hello,

I want to use Pydio Cells only with GUI and I think I don’t need sync feature.  
Unfortunately it seems that data migration from Pydio 8.2.5 needs this feature?  
I am using apache reverse proxy on both servers.

Is there a way to get data import working without adding another proxy? If not do I need another proxy on both servers or only on pydio cells?

Thank you!

---

<div class="post-metadata">

**Author:** ![uzsdd](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@uzsdd](https://forum.pydio.com/u/uzsdd)\
**Post date:** [March 2, 2021, 8:45pm UTC](https://forum.pydio.com/t/migration-question/3738/2 "2021-03-02T20:45:31Z")

</div>

Hello,

I have added a nginx proxy. So no more grpc errors.  
But i get this error while importing users, groups and roles:  
ERROR pydio.grpc.tasks cannot run action actions.etl.users: no consumer: “text/xml; charset=UTF-8”  
What does no consumer mean?

---

<div class="post-metadata">

**Author:** ![uzsdd](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@uzsdd](https://forum.pydio.com/u/uzsdd)\
**Post date:** [March 3, 2021, 1:25pm UTC](https://forum.pydio.com/t/migration-question/3738/3 "2021-03-03T13:25:06Z")

</div>

I think its an problem with the reverse proxy.  
The log looks like:  
{“level”:“info”,“ts”:“2021-03-03T12:53:08Z”,“logger”:“pydio.grpc.tasks”,“msg”:“Starting job manually (triggered by user importer\_cells)”,“LogType”:“tasks”,“SpanRootUuid”:“6621e23f-7c1f-11eb-bbd9-00163e2d4e04”,“SpanParentUuid”:“6621e23f-7c1f-11eb-bbd9-00163e2d4e04”,“SpanUuid”:“6782609a-7c1f-11eb-bede-00163e2d4e04”,“OperationUuid”:“pydio8-data-import-04a32ca9”,“SchedulerJobUuid”:“pydio8-data-import”,“SchedulerTaskUuid”:“04a32ca9-1898-496f-bcb8-91cd0e1beea8”,“SchedulerTaskActionPath”:“ROOT”,“RemoteAddress”:“10.0.3.100”,“UserAgent”:“Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0”,“ContentType”:“application/json”,“HttpProtocol”:“HTTP/1.1”}

RemoteAdress ist the local one behind the reverse proxy → so how can I change it to the correct one?

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [March 3, 2021, 2:34pm UTC](https://forum.pydio.com/t/migration-question/3738/4 "2021-03-03T14:34:26Z")

</div>

Hello,

The migration is done on cells and the info goes in direction from pydio8 =\> cells. That means, cells call api of pydio 8 to get imported infos.

The reverse proxy for pydio8 is a good solution and I did it in a migration before.

> [@uzsdd](#):
>
> ERROR pydio.grpc.tasks cannot run action actions.etl.users: no consumer: “text/xml; charset=UTF-8”

I’m not sure where does the problem come from but please read carefully this article [Migrate Pydio 8 to Cells | Pydio](https://pydio.com/en/docs/cells/v2/migrate-pydio-8-cells)

---

<div class="post-metadata">

**Author:** ![uzsdd](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@uzsdd](https://forum.pydio.com/u/uzsdd)\
**Post date:** [March 5, 2021, 7:57pm UTC](https://forum.pydio.com/t/migration-question/3738/5 "2021-03-05T19:57:54Z")

</div>

Hello, thanks for the link.  
I have double checked all.  
I got the same error message even after non - lxc installation.  
I tried with sudo. Also the same message.

Please can you tell me what I can do?

---

<div class="post-metadata">

**Author:** ![uzsdd](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@uzsdd](https://forum.pydio.com/u/uzsdd)\
**Post date:** [March 7, 2021, 11:30am UTC](https://forum.pydio.com/t/migration-question/3738/6 "2021-03-07T11:30:09Z")

</div>

OK, I tried with a new installation of an older version: 2.1.0.  
I got the same error: ERROR pydio.grpc.tasks cannot run action actions.etl.users: no consumer: “text/xml; charset=UTF-8” {“OperationUuid”: “pydio8-data-import-d952cb11”}

In the browser console there is everything fine. No errors. Only one statement:  
Object { JobUuid: “pydio8-data-import” }

Apache log of pydio 8 (ip replaced by stars):  
127.0.1.1:80 176._._.\* - admin [07/Mar/2021:14:08:50 +0000] “GET /api/v2/admin/people/?format=json&page=1 HTTP/1.1” 200 376 “-” “Go-http-client/1.1”

I have checked apache.conf and .htaccess of Pydio 8.  
[https://url.tld/api/v2/fs/my-files](https://url.tld/api/v2/fs/my-files)  
shows correctly  
BUT  
[https://url.tld/api/v2/admin/people/?format=json&page=1](https://url.tld/api/v2/admin/people/?format=json&page=1)  
response is:  
Could not find workspace with id/alias v2  
(url is replaced)

[https://url.tld/runTests.php?api=true](https://url.tld/runTests.php?api=true)

### Getting authentication token with user credentials

Data returned is not JSON! There is something wrong with the API. Exiting.NULL

---

<div class="post-metadata">

**Author:** ![GwynethLlewelyn](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/gwynethllewelyn/32/2419_2.png) [@GwynethLlewelyn](https://forum.pydio.com/u/GwynethLlewelyn)\
**Post date:** [March 10, 2021, 10:03am UTC](https://forum.pydio.com/t/migration-question/3738/7 "2021-03-10T10:03:14Z")

</div>

I have no idea if this is relevant to your issue or not, but what seems strange to me is that Cells is expecting JSON data but gets `text/xml`; however, the call you’re making seems to return JSON: `GET /api/v2/admin/people/?format=json&page=1`

I guess you could try [`cURL`](https://pydio.com/en/docs/developer-guide/using-curl) to see what the headers are? (using `-i`/`-I` to see them) At some point, I was getting the same issues with `nginx` and had to _force_ `nginx` to send `application/json` for the relevant URLs…

---

<div class="post-metadata">

**Author:** ![uzsdd](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@uzsdd](https://forum.pydio.com/u/uzsdd)\
**Post date:** [March 12, 2021, 8:49am UTC](https://forum.pydio.com/t/migration-question/3738/8 "2021-03-12T08:49:41Z")

</div>

Thank you for the hint.

What I have been trying:  
api/v2/admin/people?format=json&page=1  
 → error  
api/v2/admin/workspaces?format=json&page=1  
successful JSON answer  
api/v2/admin/roles?format=json&page=1  
successful JSON answer

OK, I have a look at  
[https://app.swaggerhub.com/apis-docs/pydio/pydio-core/2#/Provisioning/getPeople](https://app.swaggerhub.com/apis-docs/pydio/pydio-core/2#/Provisioning/getPeople)  
It tells that there ist needed a path for example {user}  
url.tld/api/v2/admin/people/{user}

So I don’t understand why the migration process calls without path?!

php cmd.php -u=admin -p=pass -r=0 -a=people --path=user  
 → : Could not find action people

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [April 16, 2021, 8:50am UTC](https://forum.pydio.com/t/migration-question/3738/9 "2021-04-16T08:50:31Z")

</div>

This topic was automatically closed 35 days after the last reply. New replies are no longer allowed.
