Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation issues / clarification with update instructions #245

Open
eavonius opened this issue Feb 27, 2024 · 0 comments
Open

Documentation issues / clarification with update instructions #245

eavonius opened this issue Feb 27, 2024 · 0 comments
Labels
Mautic 5 Mautic 5 features and updates

Comments

@eavonius
Copy link

eavonius commented Feb 27, 2024

I was following the instructions in this topic to update from mautic 5.0.2 to 5.0.3.

I'm using a composer based installation.

https://docs.mautic.org/en/5.x/getting_started/how_to_update_mautic.html

When running the commands under step 5 of Updating Mautic (composer based installs, I ran into the following issues:

  1. Running the second command bin/console mautic:update:apply --finish gives an error "You have composer updates enabled. This means that you can only update Mautic through the 'composer update' command." Should this line be removed then from the documentation?

  2. Running bin/console doctrine:schema:update --no-interaction --force I received errors:

    Updating database schema...
    
    In ExceptionConverter.php line 117:
    
    An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'IDX_1AE3441319EB6921'; check that column/key exists
    
    In Exception.php line 28:
    
    SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'IDX_1AE3441319EB6921'; check that column/key exists
    
    In Connection.php line 33:
    
    SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'IDX_1AE3441319EB6921'; check that column/key exists
    

    I'm not sure if those are valid errors, or just because the migrations already applied them in the previous step. In most migration technologies I've used in the past you can make schema and data updates apply in one command. I'm sorry I'm not familiar with doctrine migrations.

@fakela fakela added the Mautic 5 Mautic 5 features and updates label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mautic 5 Mautic 5 features and updates
Projects
None yet
Development

No branches or pull requests

2 participants