Results 1 to 10 of 13

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

Hybrid View

  1. #1
    Thank you for your reply, we run the app by specifying a URL, when we deploy the app again it´s still the same version in the app attributes, so we try by deleting the app at all, and its the same, the new changes do not appear

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    If you are specifying the url in the browser address bar then the browser will be caching the previous version.

    You need to make the url unique during testing by postfixing something like ?_version=xxx.yyy

    Thats what app center tiles do.
    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

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    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

  4. #4
    Good evening, the issue is not in the local host, is in the app center of my server, we visualice our apps by introducing the IP of our server in the browser, then it directs us to the app center and the changes do not appear, even if we delete it from the admin console in the lianja cloud admin

  5. #5
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    Hi Karla,

    That sounds like a permissions problem on the server.

    Can you upload one of the examples and access it?

    Is that cloud server accessible to me? If it is submit a ticket with the information and I will investigate for you.
    Last edited by barrymavin; 2021-10-21 at 22:36.
    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

  6. #6
    Sure, I´ll be honored, thank you so much, I´ll submit the ticket right away.

  7. #7
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    Hi Karla,

    Check the version number in the App attributes "App Center Tile".

    When you click the tile to load the app you should see the version number in the URL in the browser address bar.

    e.g.

    http://localhost:8001/apps/example_webapp1/index.html?1.0.4698

    That 1.0 corresponds to the version of your App.

    Make sure you "Preview live in browser" also.

    One other thing...

    It may be that the package you are uploading is cached. Make sure you add a version number to that also.
    Last edited by barrymavin; 2021-10-22 at 02:01.
    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

  8. #8
    I´m sorry for the delay, I was having problems with my server, I fixed them so that you can access as you asked me, thank you so much for your help, I´ve already submit the ticket with the information of the server. By the way, I didn´t understand the version of the apps, I´m confused because is not a local deployment.

  9. #9
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    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: 104
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: 170
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: 174
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

  10. #10
    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?

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