Skip to content
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

Migrate DECK to another NextCloud instance #3709

Closed
speedAmaster opened this issue Apr 10, 2022 · 7 comments
Closed

Migrate DECK to another NextCloud instance #3709

speedAmaster opened this issue Apr 10, 2022 · 7 comments

Comments

@speedAmaster
Copy link

is there any possibility to export DECKs (incl attachments) from one instance and import to another NextCloud instance?

@aleadco
Copy link

aleadco commented Apr 14, 2022

We are having this need too. We need to migrate to a new NC instance but we didn't want to lose the created projects. It would be a great feature...

@RainerKlute
Copy link

An export/import feature would also help greatly to process personal data in a GDPR-compliant way. According to Article 20 Point 1 GDPR, “the data subject shall have the right to receive the personal data concerning him or her, which he or she has provided to a controller, in a structured, commonly used and machine-readable format and have the right to transmit those data to another controller without hindrance from the controller to which the personal data have been provided.”

The functionality to export and import a whole board would be an important first step.

@stefan-niedermann
Copy link
Member

@RainerKlute please don't mix up topics: An export for being GPDR complient is already available via an occ command.

@RainerKlute
Copy link

Not sure what you are talking about, @stefan-niedermann. Which occ command would that be? Following your link, I can neither find the word “GDPR” nor “personal” nor “protection”.
Besides, how should that occ command know whether/what data I am processing in some board are personal data?

@stefan-niedermann
Copy link
Member

stefan-niedermann commented Apr 14, 2022

@RainerKlute try searching for deck 😉 Also linking to the help forum, where this topic has also been answered.

@RainerKlute
Copy link

Unfortunately the occ deck:export some.user command throws an exception, whether some.user is a existing user ID or not.

An unhandled exception has been thrown:
TypeError: Argument 1 passed to OC\Group\Manager::getUserIdGroupIds() must be of the type string, null given, called in /data/nextcloud/lib/private/Group/Manager.php on line 310 and defined in /data/nextcloud/lib/private/Group/Manager.php:327
Stack trace:
#0 /data/nextcloud/lib/private/Group/Manager.php(310): OC\Group\Manager->getUserIdGroupIds()
#1 /data/nextcloud/apps/deck/lib/Service/PermissionService.php(227): OC\Group\Manager->isInGroup()
#2 /data/nextcloud/apps/deck/lib/Service/PermissionService.php(122): OCA\Deck\Service\PermissionService->userCan()
#3 /data/nextcloud/apps/deck/lib/Service/BoardService.php(157): OCA\Deck\Service\PermissionService->matchPermissions()
#4 /data/nextcloud/apps/deck/lib/Command/UserExport.php(90): OCA\Deck\Service\BoardService->findAll()
#5 /data/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\Deck\Command\UserExport->execute()
#6 /data/nextcloud/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#7 /data/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#8 /data/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#9 /data/nextcloud/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
#10 /data/nextcloud/console.php(99): OC\Console\Application->run()
#11 /data/nextcloud/occ(11): require_once('/data/nextcloud...')
#12 {main}```

@juliusknorr
Copy link
Member

I filed #3828 with more details on how the implementation should be handled since there is now a server API for this with 24. Let's use this one for tracking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants