• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

FTP Issue When Uploading Images to SAN - Fog 0.33b

Scheduled Pinned Locked Moved
Linux Problems
2
8
3.1k
Loading More Posts
  • 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.
  • M
    moss
    last edited by Apr 24, 2014, 1:37 PM

    Not sure if this is the best sub-forum to use but I suspect its not really a Fog bug and more due to the fact my images are stored external to the server.
    My current test setup is Fog 0.33b and Ubuntu Server 14.04.
    /dev/sdb1 is mounted as /images (/dev/sdb1 is an iSCSI target on a SAN)

    I’m having a similar issue with FTP as noted here:
    [url]http://www.fogproject.org/wiki/index.php?title=FOGUserGuide#Separate_NFS_Server[/url]

    The image uploads as it should then I get a never ending FTP authentication error (not the same as the one listed in the Wiki):
    [CODE]FOGFTP: Login failed, Host: fogipaddress, Username: fog, Password: hashedpassword, Error: ftp_login(): Login incorrect,[/CODE]

    Doing as the Wiki says an moving/renaming the uploaded directory works but it the fix listed appears to be for Fog 0.32 as Post_Stage2.php is completely different in 0.33b comparing it to our live 0.32 server.

    1 Reply Last reply Reply Quote 0
    • B
      BPSTravis Developer
      last edited by Apr 24, 2014, 1:44 PM

      “Ubuntu Server 14.04” This distro is barely a week old. I wouldn’t recommend using it for a server…

      Also Revision [SIZE=13px][FONT=arial][COLOR=#262626]r1483 fixes your issue.[/COLOR][/FONT][/SIZE]

      Here is the fix as you’ve already installed:

      [LEFT] [/LEFT]
      [QUOTE]
      [LEFT][COLOR=#141414][SIZE=13px][FONT=Tahoma][COLOR=#141414][SIZE=13px][FONT=Tahoma][SIZE=13px][FONT=Tahoma][COLOR=#141414]The fix is to edit the /etc/passwd file[/COLOR][/FONT][/SIZE][/FONT][/SIZE][/COLOR][/FONT][/SIZE][/COLOR][/LEFT]
      [CODE]sudo gedit /etc/passwd[/CODE]

      [LEFT][COLOR=#141414][SIZE=13px][FONT=Tahoma][COLOR=#141414][SIZE=13px][FONT=Tahoma][SIZE=13px][FONT=Tahoma][COLOR=#141414]Edit the bottom line to look like the following[/COLOR][/FONT][/SIZE][/FONT][/SIZE][/COLOR][/FONT][/SIZE][/COLOR][/LEFT]

      [CODE]fog❌1001:1001::/home/fog:/bin/bash[/CODE]

      [LEFT][COLOR=#141414][SIZE=13px][FONT=Tahoma][COLOR=#141414][SIZE=13px][FONT=Tahoma][SIZE=13px][FONT=Tahoma][COLOR=#141414]Save and reboot, all should be well.[/COLOR][/FONT][/SIZE][/FONT][/SIZE][/COLOR][/FONT][/SIZE][/COLOR][/LEFT][/QUOTE][LEFT][/LEFT]
      [LEFT] [/LEFT]

      [SIZE=12px]signature:[/SIZE]
      [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

      1 Reply Last reply Reply Quote 0
      • M
        moss
        last edited by Apr 24, 2014, 2:13 PM

        Its purely a test setup at the minute, we have a live Fog setup running on Ubuntu 10.04 LTS which has been running for years.
        Its likely we’ll go with 14.04 as a production server in the future but [SIZE=2]the old server will still be available as a backup.[/SIZE]

        I’ll try a newer revision now, thank you.

        1 Reply Last reply Reply Quote 0
        • M
          moss
          last edited by Apr 24, 2014, 2:35 PM

          I’m still getting the same error with the latest revision.

          1 Reply Last reply Reply Quote 0
          • B
            BPSTravis Developer
            last edited by Apr 24, 2014, 3:23 PM

            [QUOTE]I’m still getting the same error with the latest revision. [/QUOTE]
            Where did you get the latest version from?

            [SIZE=12px]signature:[/SIZE]
            [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

            1 Reply Last reply Reply Quote 0
            • M
              moss
              last edited by Apr 24, 2014, 3:24 PM

              Checked out the latest revision using SVN.

              1 Reply Last reply Reply Quote 0
              • B
                BPSTravis Developer
                last edited by Apr 24, 2014, 3:26 PM

                1493?

                If so the issue is likely password related.

                Try setting your ftp info under the fog settings tab.

                If that doesn’t work reset the password to what you have in the fog UI settings on the Ubuntu system itself.

                [SIZE=12px]signature:[/SIZE]
                [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                1 Reply Last reply Reply Quote 0
                • M
                  moss
                  last edited by Apr 24, 2014, 3:33 PM

                  I was running 1491, just checked out 1493. Testing now.

                  Thanks.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    4/8
                    Last post

                  214

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project