Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: The app doesn´t change with a new deploy

  1. #11
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,719
    Blog Entries
    17
    Hi Carla,

    When you create a package to upload using the Lianja Admin Console you should update the version of the package in the deploy workspace. This will create a new package and not overwrite the previous one you created. You can then rollback to earlier versions of you need to.

    https://watch.screencastify.com/v/DQrFmZ7LrPlzYynpmUYr

    I always update my app version also if i'm going to update a remote server.

    Name:  Screen Shot 2021-10-26 at 12.00.01 PM.jpg
Views: 28
Size:  77.3 KB

    After the package is uploaded, it will be placed in the cloudserver/tenants/public/wwwroot/packages directory on your linux server.

    If you look in that directory you will see all the packages that you have uploaded and an associated installation log.

    Here is mine on windows.

    Name:  Screen Shot 2021-10-26 at 12.07.04 PM.jpg
Views: 28
Size:  13.5 KB

    The log file for a package contains installation info.

    Name:  Screen Shot 2021-10-26 at 12.07.37 PM.jpg
Views: 29
Size:  151.9 KB
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  2. #12
    I´m confused, according to the documentation
    https://www.lianja.com/doc/index.php...nt_with_Lianja
    there are two ways to deploy an app, we do it by creating a proyect and including the apps, database and the files or scripts we created. Then we introduce the server information on the sftp protocol, and it´s working, but we are curious to learn this method. This is uploaded as packages directly on the Lianja Admin Console?

  3. #13
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,719
    Blog Entries
    17
    Yes you can create a package and upload it directly from the Lianja Admin Console. This uses http/https so no sftp is required on the server.

    The package will automatically install if the environment variable DB_WWWAUTOUPDATE=ON is set.

    Alternatively you can "Install" from the Lianja Admin Console.

    When a package is installed the cloud server prevents any requests being served until the package installation has completed.

    If the package contains upgrade.prg or setup.prg then database schema updates can be donw inside that file.

    The installation of the package is done without affecting the system operation.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us