• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. lubo
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    lubo

    @lubo

    0
    Reputation
    196
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    lubo Unfollow Follow

    Latest posts made by lubo

    • RE: FreeNas FTP error

      @lubo ![0_1514602490965_20171229_205040.jpg](Uploading 100%)

      I also tried to change the home dir one level up to /mnt/RaidZ and then adjusted Fog ftp settings in Storage node to /images instead of /
      Still getting an error, but now the message is for folder is /images/dev/MACADDRESS.
      Interesting enough when I tried from Windows machine to upload file to folder in question it worked.0_1514602790475_ftp verification.PNG .Same user account as fog ftp user
      0_1514602957503_20171229_205040.jpg

      posted in General
      L
      lubo
    • RE: FreeNas FTP error

      3_1514599832271_temp image verification.PNG 2_1514599832271_ftp user home verification.PNG 1_1514599832271_Freenas permissions verification.PNG 0_1514599832270_20171229_195235.jpg

      posted in General
      L
      lubo
    • RE: FreeNas FTP error

      I restarted from scratch, but the same error persists.
      I double checked and verified every single step of wiki link:
      https://wiki.fogproject.org/wiki/index.php?title=Use_FOG_with_FreeNAS
      See my attachments
      6_1514599750783_NFS-images.PNG 5_1514599750783_NFS-dev.PNG 4_1514599750782_images permissions.PNG 3_1514599750782_freenas user.PNG 2_1514599750782_FreeNAS FTP service.PNG 1_1514599750782_fog node.PNG 0_1514599750781_dev permissions.PNG
      The temp images is created on FreeNAS on /images/dev folder, but then seems like ftp cannot move this image over to /images folder.
      I checked the home ftp folder and did adjust Fog settings accordingly.
      I’m scratching my head and cannot think of anything else.

      Please help.

      posted in General
      L
      lubo
    • RE: FreeNas FTP error

      Regarding the FTP Root. As you can see in the screenshot I mapped the home directory for “Free” to \mnt\RaidZ . The path to images folder is \mnt\RaidZ\images. What also I have to change?

      posted in General
      L
      lubo
    • RE: FreeNas FTP error

      Seems that ftp part and FreeNas are not working… But at the same time I have no trouble login with “Free” account from Windows ftp client

      posted in General
      L
      lubo
    • RE: FreeNas FTP error

      @lubo said in FreeNas FTP error:

      *Reattemping to update database…
      Error returned: Type: 2 File: /var/www/html/fog/lib/fog/fogftp.class.php.

      What should I adjust this to? It is something with the ftp:
      Here is the error from fog logs.
      [pid 2617] [client 192.168.88.112:34710] PHP Warning: ftp_rename(): Rename /images/Dell-Vanilla: Is a directory in /var/www/html/fog/lib/fog/fogftp.class.php on line 769
      [Fri Dec 29 08:25:46.626228 2017] [:error] [pid 2617] [client 192.168.88.112:34710] PHP Warning: ftp_put(/images/dev/90b11c7ea08d): failed to open stream: No such file or directory in /var/www/html/fog/lib/fog/fogftp.class.php on line 708

      posted in General
      L
      lubo
    • FreeNas FTP error

      I’m getting error while fog try to move the image file from /dev into images fodler on my FreeNas Server((192.168.88.88)
      the error is No such file or directory, Host 192.168.88.88, Username: Free
      *Reattemping to update database…
      Error returned: Type: 2 File: /var/www/html/fog/lib/fog/fogftp.class.php.
      Line: 708. Message: ftp_put (/images/dev/{MAC Address}): failed to open stream. No such file or directory. Host 192.168.88.88. Username: Free
      I tried to change storage mnt points for Free user on FreeNAS and also change the settings in Sotrage Nodes.
      Here are the attachments from freenas and fog setup

      The ftp is working. I’m able to run put from Windows machine and copy file over to FreeNAS2_1514579175811_FreeNAS FTP user.PNG 1_1514579175811_folder permissions.PNG 0_1514579175810_Fog Storage Node.PNG

      Thank you. Any help will be appreciated.

      posted in General
      L
      lubo