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. LAMP
  3. Connection Problems IWP

Connection Problems IWP

Scheduled Pinned Locked Moved LAMP
8 Posts 3 Posters 1.3k Views 3 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.
  • C Offline
    C Offline
    chriskloss
    wrote on last edited by
    #1

    Hi,

    I'm trying to connect IWP with a LAMP and a vanilla WordPress to create a staging environment.

    I get error messages regarding the hostname during the connection tests.

    I think I'm stuck, and I'm sure you can tell me where I'm going wrong.

    Please find attached the screenshot with my details.
    Bildschirmfoto 2024-05-23 um 11.12.25.png

    1 Reply Last reply
    1
    • girishG girish moved this topic from Support on
    • girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #2

      I guess IWP means https://infinitewp.com/ ? If I understood correctly, you have installed this on the LAMP app.

      I get error messages regarding the hostname during the connection tests.

      Not clear what you mean by this? Where and what is the error? Is this in WordPress or the LAMP app?

      Please find attached the screenshot with my details.

      Is that some IWP screenshot? I am confused how IWP can know about Cloudron's SFTP port (222) !

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chriskloss
        wrote on last edited by
        #3

        Hi girish,

        please excuse my lack of clarity.

        I have installed the Infinite WP app via Cloudtron. I have also installed a LAMP. Both via Cloudtron.

        My goal: I have a WordPress installation on an external server. I would like to set up a staging environment for this site using my Cloudtron setup.

        I have entered the FTP data known to me in the IWP. You can see this in the screenshot.

        girishG 1 Reply Last reply
        0
        • C Offline
          C Offline
          chriskloss
          wrote on last edited by
          #4

          Supplementary:
          I get the error message regarding the host name when I test the connection with IWP.

          M 1 Reply Last reply
          0
          • C chriskloss

            Supplementary:
            I get the error message regarding the host name when I test the connection with IWP.

            M Offline
            M Offline
            msbt
            App Dev
            wrote on last edited by
            #5

            @chriskloss not sure if this is going to work, the mysql server/credentials are not open, they only work in the cloudron environment, not from an external server.

            1 Reply Last reply
            0
            • C chriskloss

              Hi girish,

              please excuse my lack of clarity.

              I have installed the Infinite WP app via Cloudtron. I have also installed a LAMP. Both via Cloudtron.

              My goal: I have a WordPress installation on an external server. I would like to set up a staging environment for this site using my Cloudtron setup.

              I have entered the FTP data known to me in the IWP. You can see this in the screenshot.

              girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by girish
              #6

              @chriskloss said in Connection Problems IWP:

              I have installed the Infinite WP app via Cloudtron. I have also installed a LAMP. Both via Cloudtron.

              We don't have Infinite WP app on Cloudron. Do you mean you installed WordPress app and then installed IWP as plugin inside it? If that's the case, what is the purpose of the LAMP app?

              Or maybe you mean you installed Inifinte WP inside the LAMP app?

              I don't know how IWP works, but maybe you can explain to me how/what the setup is supposed to work. Is your external WordPress going to push some staging site to the IWP on Cloudron? Or viceversa?

              1 Reply Last reply
              0
              • C Offline
                C Offline
                chriskloss
                wrote on last edited by
                #7

                Thank you for your time and sorry for my poor explanation.

                IWP:

                The admin panel of IWP is installed in a LAMP environment. This runs in Cloudron.

                "Staging":
                I have a second LAMP environment. WordPress is installed there. The IWP client plugin is installed in this WP.

                The IWP Admin Panel manages various pages (which are primarily not in the Cloudron). I would like to set up staging for an external site using IWP.

                The Admin Panel is connected to the live environment for this purpose. To set up staging in IWP, you can use a separate instance. So instead of beta.live-environment.com I use staging.my-staging-environment.com

                In order for the Admin Panel to access this staging, it needs MySQL data in addition to the FTP data.

                When everything is connected, the Admin Panel takes a copy of the data from the live environment and copies it to the staging environment.

                So IWP Admin Panel and staging environment run on the same Cloudron instance in two separate "apps".

                These should be able to connect to each other if I use the FTP and MySQL data from the staging environment, right?

                girishG 1 Reply Last reply
                0
                • C chriskloss

                  Thank you for your time and sorry for my poor explanation.

                  IWP:

                  The admin panel of IWP is installed in a LAMP environment. This runs in Cloudron.

                  "Staging":
                  I have a second LAMP environment. WordPress is installed there. The IWP client plugin is installed in this WP.

                  The IWP Admin Panel manages various pages (which are primarily not in the Cloudron). I would like to set up staging for an external site using IWP.

                  The Admin Panel is connected to the live environment for this purpose. To set up staging in IWP, you can use a separate instance. So instead of beta.live-environment.com I use staging.my-staging-environment.com

                  In order for the Admin Panel to access this staging, it needs MySQL data in addition to the FTP data.

                  When everything is connected, the Admin Panel takes a copy of the data from the live environment and copies it to the staging environment.

                  So IWP Admin Panel and staging environment run on the same Cloudron instance in two separate "apps".

                  These should be able to connect to each other if I use the FTP and MySQL data from the staging environment, right?

                  girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @chriskloss said in Connection Problems IWP:

                  These should be able to connect to each other if I use the FTP and MySQL data from the staging environment, right?

                  Yes, for MySQL. As long as they are in the same instance, you can use the MySQL credentials from one app into another.

                  For FTP, I guess you are asking if IWP can access files of another via FTP. This is possible, yes. Just use the SFTP credentials of the app - https://docs.cloudron.io/apps/#sftp-access

                  1 Reply Last reply
                  0
                  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