Question: Update Without Damaging Files And Language

Update Without Damaging Files And Language

Hello, I have been using it since (2.0.0-rc.17) but every new version is sent to me by e-mail, I had chosen it like this and I had to re-install the installation files :( is there a way t

OM

Onur MASALCI

Asked

Hello, I have been using it since (2.0.0-rc.17) but every new version is sent to me by e-mail, I had chosen it like this and I had to re-install the installation files 😦 is there a way to update it? I am using VDS - Almalinux 9 (Plesk Obsidian 18.0.65 Update #2 Web Host Edition). Can I update directly from Plesk? When the new version is released?

Thank you.

  • MS

    Mian Saleem

    Answered

    Hello,

    You can backup your language files and then follow the update instructions from documentation.pdf

    Once updated, you can put back your language files and rebuild the app.

    Thank you

  • OM

    Onur MASALCI

    Answered

    I changed the connection links from (routes/web.php), are these also lost?

  • MS

    Mian Saleem

    Answered

    Yes, that file will be replaced so the changes will be gone. You should to duplicate or note the changes made and then do them after update. Thanks

  • MS

    Mian Saleem

    Answered

    Hello,

    The error path is from package. What is your php version?

    Please try run composer update and see if it helps.

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    Please let me know server details and the path to installation in private reply so that I can check for you.

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    You can perform update as instructed in the documentation.pdf

    Please backup .env file and assets folder inside public folder (to save your uploads) then upload the latest files & folders to replace the old. Lastly you need to run the migration command as following

    # cd /path/to/install/folder
    php artisan migrate --force
    

    For some updates where the build path changes, you are required to delete the old files except .env and public/assets/ folder then upload the latest and lastly run the migration command.

    Thank you

  • Login to Reply