Error while migrating data

please go through Error while Migrating the data · Issue #630 · overhangio/tutor · GitHub and solve this issue

Disclaimer: I’m not too familiar with your setup, so I’m possibly way off the mark, but maybe this helps…

  1. are you using S3 for storage? I see it’s complaining of a bad path
django.core.exceptions.ImproperlyConfigured: S3BotoStorage.location cannot begin with a leading slash. Found '/openedx/media/'. Use 'openedx/media/' instead.

  1. Are your permissions set correctly after restoring the backup? here’s my permissions
 ls -la /root/.local/share/tutor/data
drwxr-xr-x 9 root             root 4096 Jan 26 13:38 .
drwxr-xr-x 4 root             root 4096 Feb 21 08:38 ..
drwxr-xr-x 4 joel             root 4096 Feb  9 10:40 cms
drwxr-xr-x 3 joel             root 4096 Jan 26 13:24 elasticsearch
drwxr-xr-x 5 joel             root 4096 Jan 26 13:39 lms
drwxr-xr-x 3 systemd-coredump root 4096 Apr  5 16:39 mongodb
drwxr-xr-x 6 systemd-coredump root 4096 Mar 17 15:35 mysql
drwxr-xr-x 7 joel             root 4096 Feb 24 12:32 openedx-media
drwxr-xr-x 2 joel             root 4096 Apr  8 12:47 redis

Hi Joel,
i m also working with @Harshgaur14 ,
we are not using s3 buckets in our case.
And yes data dir permissions are same as yours, read and write permissions are already setup by tutor.

We are running tutor in a ubuntu vm in a cloud server, is kvm is required here, just to know that tutor does does not require nested virtualisation as our vm does not support nested virtualisation.

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