Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Pixelfed
  3. Help! All users have disappeared after migrating Pixelfed from one server to another

Help! All users have disappeared after migrating Pixelfed from one server to another

Scheduled Pinned Locked Moved Solved Pixelfed
pixelfedmigratemigrationusers
7 Posts 2 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by jdaviescoates
      #1

      I thought I'd successfully migrated my Pixelfed app from one server to another, but when I actually tried to login, I couldn't.

      Looking at https://bridport.pics/site/about it says:

      0 people have shared 58 photos and videos on Pixelfed!

      And when I do:

      sudo -u www-data php artisan user:table
      +----+----------+------+------------+
      | ID | Username | Name | Registered |
      +----+----------+------+------------+
      

      I can see there are no users.

      For some reason the backup/ import process has lost all the users! 😱

      Luckily I still have the app on the old server! Running the same sudo -u www-data php artisan user:table command there successfully shows the (thankfully only) 5 users that should be there.

      Something is not right. Please help me to get this sorted.

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      1
      • girishG girish

        @jdaviescoates If it fails, would be good to have logs, after you start the import

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #7

        @girish aftering giving both redis and the app a load more memory the import worked fine. I don't know why I didn't just try that before to be honest.

        I'm not sure how it managed to half-work before so that the apps was running and the import seemed to have worked, but without the users, but I've just done the back import again and the users have re-appeared, so panic over. Phew.

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        0
        • jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #2

          @staff I think there is something worrisomely wrong with Pixelfed backups in that they don't seem to include anything about the users. I've no idea what to do about this.

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #3

            I can't reproduce this. All your are doing is backup and import the same backup into another server correct ? What happens if you clone from that backup in the other server, does that show the users?

            jdaviescoatesJ 1 Reply Last reply
            1
            • girishG girish

              I can't reproduce this. All your are doing is backup and import the same backup into another server correct ? What happens if you clone from that backup in the other server, does that show the users?

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #4

              @girish said in Help! All users have disappeared after migrating Pixelfed from one server to another:

              What happens if you clone from that backup in the other server, does that show the users?

              Testing now...

              I use Cloudron with Gandi & Hetzner

              jdaviescoatesJ 1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @girish said in Help! All users have disappeared after migrating Pixelfed from one server to another:

                What happens if you clone from that backup in the other server, does that show the users?

                Testing now...

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #5

                Well, the clone I made on the same server seems to work fine (after failing lots of times due to running out of memory and redis not starting properly etc, but it worked eventually after giving both the app and associated redis loads more memory).

                I guess now I'll just try importing it again to the new server. But something just went wrong during the import...

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #6

                  @jdaviescoates If it fails, would be good to have logs, after you start the import

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • girishG girish

                    @jdaviescoates If it fails, would be good to have logs, after you start the import

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #7

                    @girish aftering giving both redis and the app a load more memory the import worked fine. I don't know why I didn't just try that before to be honest.

                    I'm not sure how it managed to half-work before so that the apps was running and the import seemed to have worked, but without the users, but I've just done the back import again and the users have re-appeared, so panic over. Phew.

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    0
                    • jdaviescoatesJ jdaviescoates marked this topic as a question on
                    • jdaviescoatesJ jdaviescoates has marked this topic as solved on
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search