inovector / mixpost

Mixpost - Self-hosted social media management software (Buffer alternative)
https://mixpost.app
MIT License
905 stars 145 forks source link

upgrading Mixpost to latest version #54

Closed khalMeg closed 11 months ago

khalMeg commented 11 months ago

Detailed description

Hi,

I have installed Mixpost using Docker with a license key. The installed version was ^0.5. I tried to upgrade to the latest version ^0.9. First, I pulled the latest version of the inovector/mixpost-pro-team:latest image and changed the MIXPOST_VERSION environment variable to '^0.9'. When I restarted Mixpost using Docker Compose, I encountered the following errors:

mixpost_1  |    0/119 [>---------------------------]   0%
mixpost_1  |   11/119 [==>-------------------------]   9%
mixpost_1  |   21/119 [====>-----------------------]  17%
mixpost_1  |   30/119 [=======>--------------------]  25%
mixpost_1  |   42/119 [=========>------------------]  35%
mixpost_1  |   50/119 [===========>----------------]  42%
mixpost_1  |   61/119 [==============>-------------]  51%
mixpost_1  |   76/119 [=================>----------]  63%    Failed to download inovector/mixpost-pro-team from dist: The 'https://packages.inovector.com/dist/inovector/mixpost-pro-team/inovector-mixpost-pro-team-c5869c3924eeba2017ba6aef76b19830f9f38734-zip-fb52d3.zip' URL required authentication (HTTP 401).
mixpost_1  | You must be using the interactive console to authenticate
mixpost_1  |     Now trying to download from source
mixpost_1  | 
mixpost_1  |   85/119 [====================>-------]  71%
mixpost_1  |  104/119 [========================>---]  87%
mixpost_1  |  113/119 [==========================>-]  94%
mixpost_1  |  119/119 [============================] 100%
mixpost_1  | In GitDownloader.php line 82:
mixpost_1  |                                                             
mixpost_1  |   git was not found in your PATH, skipping source download  
mixpost_1  |                                                             
mixpost_1  | 
mixpost_1  | create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]
mixpost_1  | 
mixpost_1  | Copying backup migration files
mixpost_1  | Found job_batches 1 files
mixpost_1  | Found mixpost 1 files
mixpost_1  | PHP Warning:  require(/var/www/html/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/artisan on line 18
mixpost_1  | PHP Fatal error:  Uncaught Error: Failed opening required '/var/www/html/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/artisan:18
mixpost_1  | Stack trace:
mixpost_1  | #0 {main}
mixpost_1  |   thrown in /var/www/html/artisan on line 18
mixpost_1  | PHP Warning:  require(/var/www/html/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/artisan on line 18
mixpost_1  | PHP Fatal error:  Uncaught Error: Failed opening required '/var/www/html/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/artisan:18
mixpost_1  | Stack trace:
mixpost_1  | #0 {main}
mixpost_1  |   thrown in /var/www/html/artisan on line 18
mixpost_1  | PHP Warning:  require(/var/www/html/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/artisan on line 18
mixpost_1  | PHP Fatal error:  Uncaught Error: Failed opening required '/var/www/html/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/artisan:18
mixpost_1  | Stack trace:
mixpost_1  | #0 {main}
mixpost_1  |   thrown in /var/www/html/artisan on line 18
mixpost_1  | wait-for-it.sh: waiting 60 seconds for mysql:3306
mixpost_1  | wait-for-it.sh: mysql:3306 is available after 0 seconds
mixpost_1  | PHP Warning:  require(/var/www/html/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/artisan on line 18
mixpost_1  | PHP Fatal error:  Uncaught Error: Failed opening required '/var/www/html/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/artisan:18
mixpost_1  | Stack trace:
mixpost_1  | #0 {main}
mixpost_1  |   thrown in /var/www/html/artisan on line 18
mixpost_1  | PHP Warning:  require(/var/www/html/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/artisan on line 18
mixpost_1  | PHP Fatal error:  Uncaught Error: Failed opening required '/var/www/html/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/artisan:18
mixpost_1  | Stack trace:
mixpost_1  | #0 {main}
mixpost_1  |   thrown in /var/www/html/artisan on line 18
mixpost_1  | PHP Warning:  require(/var/www/html/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/artisan on line 18
mixpost_1  | PHP Fatal error:  Uncaught Error: Failed opening required '/var/www/html/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/artisan:18
mixpost_1  | Stack trace:
mixpost_1  | #0 {main}
mixpost_1  |   thrown in /var/www/html/artisan on line 18
mixpost_1  |  * Starting periodic command scheduler cron
mixpost_1  |    ...done.
mixpost_1  | Mixpost has started!
mixpost_1  | 2023-07-17 14:53:53,904 INFO Set uid to user 0 succeeded
mixpost_1  | 2023-07-17 14:53:53,906 INFO supervisord started with pid 79
mixpost_1  | 2023-07-17 14:53:54,909 INFO spawned: 'mixpost_horizon_00' with pid 81
mixpost_1  | 2023-07-17 14:53:54,912 INFO spawned: 'nginx' with pid 82
mixpost_1  | 2023-07-17 14:53:54,915 INFO spawned: 'php-fpm' with pid 83
mixpost_1  | 2023-07-17 14:53:54,983 INFO exited: mixpost_horizon_00 (exit status 255; not expected)
mixpost_1  | 2023-07-17 14:53:55,987 INFO spawned: 'mixpost_horizon_00' with pid 88
mixpost_1  | 2023-07-17 14:53:55,988 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
mixpost_1  | 2023-07-17 14:53:55,988 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
mixpost_1  | 2023-07-17 14:53:56,033 INFO exited: mixpost_horizon_00 (exit status 255; not expected)
mixpost_1  | 2023-07-17 14:53:58,043 INFO spawned: 'mixpost_horizon_00' with pid 89
mixpost_1  | 2023-07-17 14:53:58,092 INFO exited: mixpost_horizon_00 (exit status 255; not expected)
mixpost_1  | 2023-07-17 14:54:01,096 INFO spawned: 'mixpost_horizon_00' with pid 90
mixpost_1  | 2023-07-17 14:54:01,145 INFO exited: mixpost_horizon_00 (exit status 255; not expected)
mixpost_1  | 2023-07-17 14:54:02,146 INFO gave up: mixpost_horizon_00 entered FATAL state, too many start retries too quickly

Currently, Mixpost is not available, and I'm unable to revert to the previous state since I already pulled the latest Docker image.

I would appreciate guidance on how to resolve this problem and successfully upgrade Mixpost.

lao9s commented 11 months ago

Hi @khalMeg

I think your Pro license is expired.

If you bought an Enterprise license, you can use it for Mixpost Pro too.

khalMeg commented 11 months ago

@lao9s I got it, Thank you