·
Added a discussion

Dear Developers,

I would like to have a official guide or steps for upgrading of UNA 9.0 to UNA 10.1. I have tried my own ways of overwriting the environment in my project with the new 10.1 codes but it didnt work out and there were errors like BxTemplMoreAuto not found etc. It would really help if there is a proper guide on how to upgrade as there are many configurations that I have done in the studio that I would like to bring over to UNA 10.1 after upgrading as I do not want to redo the same configurations by installing a brand new UNA 10.1

  • 1739
Comments
    • Hello zhalkiar !

      First of all, you need to backup your UNA files and Database first. Especially if you have code customisations. Then, if you see the Upgrade button in your Dashboard and you have configured Cron Jobs then you need to press this button and follow the appearing instructions. If you meet some troubles during this process then please shows all issues.

      • Please don't try upgrade manually, upgrade is fully automatic, please follow the following guide:

        https://github.com/unaio/una/wiki/Upgrade

        • Thank you all I will give it a shot!

          • Hi I have followed the guide and enabled force update but after i pressed the update button it just keep loading for quite a while and nothing is happening. In addition, I have also set my cron.bat to run periodically per minutes and checked at the server audit that the cron job has run but nothing is still happening. My una is currently hosted in a windows 10 environment.

            • Hi I have followed the guide and enabled force update but after i pressed the update button it just keep loading for quite a while and nothing is happening. In addition, I have also set my cron.bat to run periodically per minutes and checked at the server audit that the cron job has run but nothing is still happening. My una is currently hosted in a windows 10 environment.

              • Please check PHP error log for any errors or warnings at the time when you are trying top update your site

                • May I know where would I be able to locate the error log file etc or how can I view any error messages. What happened first was they warned me that there are files that has been modified thus update is unable to occur, after which I have went to settings and enabled force update. It then led to after the button is being press nothing happened and there is constantly a circle spinning with no error messages or indication of progress of update. I have also ran the modified cron.bat files multiple times but it still doesn't work
                  Methods that I have attempted:
                  1. View from xampp at Logs>PHP(php_error_logs)
                  2. Using ctrl+shift+i on google chrome after clicking update

                  • If you mentioned Xampp then there usually error log can be found in xampp\apache\logs\error.log (Windows version)

                    • Hi I have managed to upgrade to UNA 10.1.0 but I am facing errors when I am trying to access the UNA website in lucid 9.0.4 theme.

                      Fatal error: bx_import fatal error: class (BxTemplMenuMoreAuto) wasn't found in C:\xampp\htdocs\una\inc\utils.inc.php on line 722

                      Fatal error: bx_import fatal error: class (BxTemplVoteLikes) wasn't found in C:\xampp\htdocs\una\inc\utils.inc.php on line 722

                      It only works when I changed to protean. Upgraded from UNA 9.0.0 > 9.0.1 > 10.0.0> 10.1.0 Current versions: UNA 10.1.0, Lucid 9.0.4
                      In addition, I have even added the missing files into the lucid scripts folder but it ended up having item_content_raw in all of the existing post and when liked or reacted there was no counter for the like or reaction appearing.
                      I have noticed that those files stated missing in the error was missing in the lucid scripts folder but existed in protean scripts folder. I have also noticed that the lucid version is 9.04 instead of protean 10.0.4. I have also went to updates in the market but there is no option for me to upgrade lucid. Am I missing a step in upgrading here for lucid? Do I need to be logged in with the account that I have used to purchased the lucid module before I can see the update or to update it? Else if its not then may I know what are the proper and appropriate steps in doing so?

                      • Please don't do it manually, you can break something. The reason of missing files is that you didn't update modules according to the instructions - https://github.com/unaio/una/wiki/Upgrade

                        It maybe in your case each module will need to updated several times.

                        • hi alex, i have already removed the files i added but currently, only my lucid template is missing those files if i switch to protean it is working. Any way I can update my lucid as i dont see an option to update it in the app market when i go to the update tab. Do I have to be logged in to UNA with the account I used to purchase the lucid template or?

                          • What is exact version of your Lucid module ?

                            • Hi, it is currently Lucid 9.0.4 from what I saw in designer

                              • Does it have DEV at the end of version ?

                                Do you receive any error message by email during module update ?

                                • No there is no DEV, I can only see Lucid Boonex • 9.0.4 at the designer. I have not received any error message by email. I have updated the protean through the updates tab in app market, which allowed me to resolve the missing files issue for the protean. However, I wasnt given the option to update lucid. Is my lucid currently the latest version or there is one update for UNA 10.1.0 as well? In addition, would I need the account that I used to purchase lucid and which contains the key and secret key to the app market to be logged in to be able to see the update option or able to update it? 

                                  • Lucid is paid module, paid modules require active subscription to be able to update them, do you have active subscription for Power Pack or for Lucid module ?

                                    • Yes, I do have active subscription for the Lucid module but not under this account, does this means that if I switch to the account that has the key, secret key and active subscription, I would be able to update lucid to a version higher than my current one? Does this means that currently there is a version higher than lucid 9.0.4?

                                      • Yes, there is newer versions of Lucid app. 

                                        You can't use the same licence on more than 1 site, if you have several sites then you need several subscriptions. You can reset the license and register it again if your site domain or key&secret was changed.

                                        • I am sure that AlexT is not ignoring the comment Geek Girl left in this thread; I am sure AlexT will be addressing it soon.  After all, if the final release upgrade has missing parts, that is very serious.  It is the only answer to why WIll Monte has missing parts to his web site, it would explain the pie charts can't have negative values issue; it would explain why there are missing content types.

                                          • Hello Alex T⚜️ i believe here you mentioned to upgrade each app/mod one by one again if the upgrade did not fully occur. My site in a way is so so, what would you recommend?

                                            Thanks!

                                            • I am currently working one one copy but I will be migrating it to another environment will that affect the subscription or license after migrating it? In addition, I have logged in with the account that I have used to purchase lucid and I noticed that I am able to download the lucid zip file. I would like to know if i can move the zip file downloaded from the UNA site and replace the existing lucid folder in my project will that work?. This is because when I clicked on the search in studio> app market even though I was logged in to the account I used to purchase lucid it indicates the the URL is missing etc. Is there a proper guide on how to upgrade lucid in this kind of situation or how to replace the key and license for lucid as you have mentioned?
                                              This is the link that gave me the URL missing error when clicked from studio>App Market>search
                                              una.io/m/oauth2/auth?response_type=code&client_id=4hyb5mxatu&redirect_uri=localhost/una/studio/store.php?page=goodies&scope=market&state=fZ8rrjAagWXPTEwQWXWX

                                              • Hello Alex T⚜️ i believe here you mentioned to upgrade each app/mod one by one again if the upgrade did not fully occur. My site in a way is so so, what would you recommend?

                                                Thanks!

                                                Alex T⚜️ ?

                                                • I am sure that AlexT is not ignoring the comment Geek Girl left in this thread; I am sure AlexT will be addressing it soon.  After all, if the final release upgrade has missing parts, that is very serious.  It is the only answer to why WIll Monte has missing parts to his web site, it would explain the pie charts can't have negative values issue; it would explain why there are missing content types.

                                                  I think release upgrade is ok

                                                  • Hello Alex T⚜️ i believe here you mentioned to upgrade each app/mod one by one again if the upgrade did not fully occur. My site in a way is so so, what would you recommend?

                                                    Thanks!

                                                    Please describe in details what you mean by "My site in a way is so so" ?

                                                    • Hello Alex T⚜️ i believe here you mentioned to upgrade each app/mod one by one again if the upgrade did not fully occur. My site in a way is so so, what would you recommend?

                                                      Thanks!

                                                      Please describe in details what you mean by "My site in a way is so so" ?

                                                      https://una.io/page/view-discussion?id=4313

                                                      • You mention an upgrade button. I have never seen that even though there has been a release since the one that is currently installed 12.0.0, crons are enabled, and both upgrade automatically and force upgrade are ticked in settings. What other option do i have to upgrade other than reinstalling from scratch? This would help because i am receiving a lot of deprecation errors and such possibly due to outdated scripts. Thanks.

                                                        • Hello Fanalogy !

                                                          If your server has the enable "allow_url_fopen" parameter and you have the proper key-secret pair then the Upgrade should appear. If all parameters are fine then provide me your UNA studio access via Messenger.

                                                          • Server audit confirms proper allow_url_fopen parameter and same key and pair in my una.io account is also showing in site settings page. I will provide studio access details in messenger as suggested as after creating a new key pair and clearing cache it still does not show the upgrade button. Also, auto update tick box seems to disable itself after a few hours for some reason even though I re-check it and save.  Perhaps one of the bx files is overwriting that during an update check? 

                                                            • UPDATE: the deal was in the "beta" channel, which was set in the Studio->Developer app. After switching it to the "stable" ut has appeared.

                                                              • Thank you that did the trick! Great find. 

                                                                Login or Join to comment.