Why my module update is not working?

My config.php file

3fhr3anh9gz2uxuxyzzxtftww9afetl9.png

Module update folder structure

hwbqsxnqucufdjwfkty8gvk9qzl4suby.png
  • 1529
  • More
Attachments
Replies (12)
    • Maybe make make it compatible with 11.0.0-RC2 or some other existing version ? since 11.0.0 isn't released yet.

      • I've tried but not worked.

        Is it's home_dir and home_uri correct?

        • Hello Amitesh Kumar !

          Please check these points first https://una.io/page/view-discussion?id=5134 

          • Hello I've done those things and got update option also in the store but after clicking on update option it says that QUEUED but then I am not getting that updated.

              • Hello
                If you have problems during update installation then you need to check logs/upgrade_modules.log file and site's email address (Studio -> Settings -> Site Settings -> Email to receive critical site notifications) to get detailed description of the problem appeared during background update operation.It may be an error in update script, modified currently installed version, etc.
                ---
                Best Regards
                Anton

                • I haven't got any email or error or any issue. And I have check my logs/upgrade_modules.log nothing found useful.

                  This is log - 

                  ####@#####:~/htdocs/logs$ cat upgrade_modules.log

                  03-16 02:30:07:

                  Cannot get a list of modules which require to be updated.

                  03-17 02:30:07:

                  Cannot get a list of modules which require to be updated.

                  03-18 02:30:07:

                  Cannot get a list of modules which require to be updated.

                  03-19 02:30:04:

                  Cannot get a list of modules which require to be updated.

                  03-20 02:30:07:

                  Cannot get a list of modules which require to be updated.

                  03-21 02:30:06:

                  Cannot get a list of modules which require to be updated.

                  03-22 02:30:05:

                  Cannot get a list of modules which require to be updated.

                  • After Clearing log I tried again to update but not got any log in upgrade_modules.log file.

                    And also update didn't succeed.

                    • Hello
                      I downloaded your app v.1.0.0 and update to the next version. Uploaded them manually on my Dev site. When update was uploaded I immediately received the following PHP error in Studio:

                      Parse error: syntax error, unexpected ''compatible_with'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /[path_to_una]/modules/publicchat/complete_profile/updates/update_1.0.0_1.0.1/install/config.php on line 20

                      ( ! ) Fatal error: Exception thrown without a stack frame in Unknown on line 0

                      I checked the source (update_1.0.0_1.0.1/install/config.php) and you have the following:

                      'title' => 'Complete Profile',

                          'version_from' => '1.0.0',

                              'version_to' => '1.0.1',

                          'vendor' => 'Publicchat.in'

                          'compatible_with' => array(

                              '11.0.0-RC2'

                          ),

                      I recommend you to test the updates manually before uploading them on UNA.IO site. It will help you to speed up the process.You just need to create updates folder in your app's main folder, upload your update_1.0.0_1.0.1 folder in it and try to apply it via Studio -> Apps Market -> Downloaded -> Updates section.

                      ---
                      Best Regards
                      Anton

                      • The need of a small comma can send me in coma...

                        Thanks Anton L

                        • And Really thanks for telling me Anton L  the way of testing module's update.

                          • i just tested it today, and have this small contribution to add:
                            when there is a default profile cover uploaded into the system which applies to every user,
                            your plugin prompted me to change that upon logging into my test profile.
                            but.. I do not want this, I only want it to make someone upload a profile photo, if they only have the color and the letter in the circle.
                            If there is already a system wide profile cover, your plugin should respect this setting, and not go straight to that. :)
                            best,
                            ~Omar

                            Login or Join to comment.