Skip to content

Conversation

@DavidMarquezF
Copy link

@DavidMarquezF DavidMarquezF commented Jun 16, 2025

Description of the change

This is my go at making SuiteCRM 8 work properly with SKIP_BOOSTRAP flag set to true, which currently doesn't work. I think when migrating from 7 to 8 this path was missed.

This flag allows you to not have to keep the whole SuiteCRM installation in a persisted volume by initializing everything from scratch but the database.

The thing that still doesn't work which I haven't had a go at is the SMTP set up.

What I've solved:

  • Create .env.local file to support new SuiteCRM 8 config, as well as added necessary properties and updates to the legacy config.php (like cron, and unique_key)
  • .htacces file at public/legacy/.htaccess was included, which blocked necessary resources to run the page

This has been more of a surgical fix, but in general the code should/could be cleaned up a lot to remove all the SuiteCRM 7 related code since it's not officially supported anymore by bitnami

Benefits

SKIP_BOOTSTRAP flag functional again.

Possible drawbacks

  • Haven't had time to test the other ways (without SKIP_BOOTSTRAP), but in general my changes should not affect.
  • Not really sure why public/legacy/.htaccess was included in the first place, but it was also something that did not work properly when running SuiteCRM 7, as it blocks resoruces like images and icons behind 403. Please let me know if this is maybe introducing any security holes

Applicable issues

Additional information

@github-actions github-actions bot added suitecrm triage Triage is needed labels Jun 16, 2025
@github-actions github-actions bot requested a review from javsalgar June 16, 2025 14:26
@javsalgar javsalgar changed the title fix(suitecrm): SKIP_BOOTSTRAP not working properly with suitecrm 8 [bitnami/suitecrm] fix: SKIP_BOOTSTRAP not working properly with suitecrm 8 Jun 17, 2025
@javsalgar
Copy link
Contributor

Hi!

Thank you so much for the PR! Could you fix the DCO issue?

* Create .env.local file to support new SuiteCRM 8 config, as well as added necessary properties and updates to the legacy config.phpo
* .htacces file at public/legacy/.htaccess was included, which blocked necessary resources.

Signed-off-by: David Márquez Fàbrega <[email protected]>
@github-actions
Copy link

github-actions bot commented Jul 3, 2025

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the stale 15 days without activity label Jul 3, 2025
@github-actions
Copy link

github-actions bot commented Jul 9, 2025

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary.

@github-actions github-actions bot added the solved label Jul 9, 2025
@bitnami-bot bitnami-bot added stale 15 days without activity and removed stale 15 days without activity labels Jul 9, 2025
@bitnami-bot bitnami-bot closed this Jul 9, 2025
@DavidMarquezF
Copy link
Author

I did fix what was asked i think. What happened?

@javsalgar javsalgar reopened this Jul 9, 2025
@github-actions github-actions bot removed the solved label Jul 9, 2025
@javsalgar javsalgar added in-progress verify Execute verification workflow for these changes and removed stale 15 days without activity labels Jul 9, 2025
@github-actions github-actions bot removed the triage Triage is needed label Jul 9, 2025
@github-actions github-actions bot removed the request for review from javsalgar July 9, 2025 07:16
@github-actions github-actions bot requested a review from migruiz4 July 9, 2025 07:16
@github-actions
Copy link

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the stale 15 days without activity label Jul 25, 2025
@DavidMarquezF
Copy link
Author

.

@github-actions github-actions bot removed the stale 15 days without activity label Jul 29, 2025
@github-actions github-actions bot added the triage Triage is needed label Aug 19, 2025
@github-actions github-actions bot requested a review from carrodher August 19, 2025 08:15
@carrodher
Copy link
Member

Thanks a lot for your contribution. Just a quick note to apologize for the slower response time in reviewing PRs. August is a holiday period for part of the team, so reviews may take a bit longer than usual. We really appreciate your patience and support!

@carrodher carrodher removed stale 15 days without activity triage Triage is needed labels Aug 19, 2025
@carrodher carrodher removed their request for review August 19, 2025 08:16
@carrodher carrodher removed their assignment Aug 19, 2025
@DavidMarquezF
Copy link
Author

Sorry, i didn't want that to come across as rude, I do not expect these things to be addressed in a timely matter, in the end its Open source, so it's just natural.

I just think that if that's the case then this automatic closing of pull requests gives the impression that contributions are just forgotten :)

Copy link
Member

@migruiz4 migruiz4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your contribution @DavidMarquezF!

I'm sorry for the late response, could you please take a look at my comments?

@github-actions
Copy link

github-actions bot commented Sep 6, 2025

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the stale 15 days without activity label Sep 6, 2025
@github-actions
Copy link

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary.

@bitnami-bot bitnami-bot added stale 15 days without activity and removed stale 15 days without activity labels Sep 11, 2025
@DavidMarquezF
Copy link
Author

Hey, sorry, a lot of work came in and I couldn't spend the time on reviewing your requests. I prepped a commit in order to follow the review observations. If you open the pull request again, ill submit them in

@carrodher carrodher reopened this Dec 30, 2025
@github-actions github-actions bot added triage Triage is needed and removed solved labels Dec 30, 2025
@carrodher carrodher removed stale 15 days without activity triage Triage is needed labels Dec 30, 2025
@github-actions github-actions bot requested a review from carrodher December 30, 2025 11:37
Signed-off-by: David Márquez Fàbrega <[email protected]>
@carrodher carrodher removed their request for review December 30, 2025 13:33
@carrodher carrodher removed their assignment Dec 30, 2025
This is necessary when running SuiteCRM with ACA for instance. The host name is the ACA hostname but the real hostname needs to be enabled here in order to not get blocked for XSRF for some queries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

suitecrm verify Execute verification workflow for these changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants