My server won't upload the tool's diagnostics and I cannot open a forum topic

Type: Bitnami Support Tool

Description:
Diagnostics run successfully with output in the terminal, but tells me to upload the results manually because it failed to upload automatically. One cannot open a topic in the forum without the Bitnami Support Tool ID, which isn’t generated on the command line after running, and there doesn’t seem to be an ID included anywhere within the tool’s exported .zip. How can I share the required diagnostics, when I cannot open a topic in which to share them, because I lack a Bitnami Support Tool ID?

Hi @djmonzyk,

Can you paste the bnsupport code-id here and give more details regarding the error you are having with the application?

Regards,
Michiel

This was in the filename of the generated zip file, so assume that this is the support id? 20210803-190054-17156. My issue is outlined in detail at [this link]:frowning:https://stackoverflow.com/questions/68567574/azure-bitnami-wordpress-issues-configuring-varnish-documentation-seems-inaccu)

I can upload the logs to Google Drive if you’d like to see them, I suppose I just DM you that link?

This documentation for Bitnami Wordpress Varnish configuration seems out of date. Below, I’ve provided a screenshot with numbering corresponding to the numerous issues.

(Note: If you read the documentation, I’m using “Approach A: System packages”)

Command #1.) This referenced file doesn’t exist in my installation to copy: /opt/bitnami/varnish/etc/varnish/default.vcl. There is no etc directory in the varnish directory, and doing a find for default.vcl doesn’t pull back any results.

Command #2.) I browsed and found is this dir and file: /opt/bitnami/varnish/conf/wordpress.vcl.disabled/wordpress.vcl.disabled The file seems to have contents of a default Varnish configuration file for WordPress - so thinking that this must be it, I copied it to /opt/bitnami/varnish/conf/wordpress.vcl

Command #3.) I ran this command, pointing to /opt/bitnami/varnish/conf/wordpress.vcl I had copied from that found file. That command provided on errors, but also no output upon submission.

Command(step) #4: Hoping that last step work, I proceeded to ‘Enable and start the Varnish ™ Service’ - and on that page immediately ran into more issues. This command won’t be successful because there is no varnish directory in /opt/bitnami/scripts [ -f /opt/bitnami/scripts/varnish/start.sh.disabled ] && sudo mv /opt/bitnami/scripts/varnish/start.sh.disabled /opt/bitnami/scripts/varnish/start.sh

screenshot of Bitnami documentation

I’m stuck and could use help deciphering the documentation as it doesn’t seem to reflect the installation I’m using. Thanks in advance!

Hi @djmonzyk,

Could you check this guide works for you?

https://docs.bitnami.com/aws/apps/wordpress/administration/configure-use-varnish/

Regards,
Michiel

Unfortunately, it is a similar issue. I ran the first and second commands and this was the output:
https://i.imgur.com/6faBdrQ.png

The ‘mv’ command fails, because there is no varnish.conf.disabled file in the path /etc/monit/conf.d/

Hi @djmonzyk,

Somehow your installation is missing the ctl.sh scripts for starting and stopping Varnish, I recommend launching a new Bitnami WordPress instance and then migrate your WordPress site there and then enable Varnish following the steps in the guide:

https://docs.bitnami.com/aws/how-to/migrate-wordpress/

Regards,
Michiel

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.