Give an introduction to the topic of this How-to article. For example, let's consider that this article explains how to use article template


Instructions to use article templates


Step 1: Find  Syneto cluster file

  • look for the file syneto-cluster-setup.lock on tmp directory


Step 2: Populate the content in the template

  • Explain the actions under this step


Step 3: Use the template in your article

  • Explain the actions under this step


Use the callout cards to highlight anything important about any of the steps mentioned above


Add a video to help users understand the steps visually


https://www.youtube.com/embed/U0_6R8oVbGM?&t=15s&wmode=opaque


If the setup remains blocked at 5/10%

If the file /tmp/syneto-cluster-setup.lock exists, then check the syneto-diana log in realtime. Logs should indicate progress, see image above.

ls /tmp/syneto-cluster-setup.lock

First, the temporary initial configuration file must be removed. Use absolute paths always! (starts with slash)

rm /tmp/syneto-cluster-setup.lock

Secondly, we destroy whatever infrastructure exists. We do factory reset!

/usr/share/syneto-edge/repo/destroy_infrastructure.sh --keep-images

IMPORTANT (for SynetoOS 5.1.4)

/usr/share/syneto-edge/repo/destroy_infrastructure.sh remains stuck if there is no cluster! You must edit the file to comment a line so it does not check for the cluster.

vi /usr/share/syneto-edge/repo/destroy_infrastructure.sh
Press i

Scroll to the first line that starts with. Add #

#kubectl …

Next log to jobs DB via this command. Use absolute paths always! (starts with slash)

sqlite3 /tmp/syneto-toolbox-jobs.sqlite3

Once inside, a different screen will appear on the CLI, you will have to enter this command that deletes all jobs:

DELETE FROM JOBS;
.exit

Exit this section and return to the classic CLI screen, and execute this command:

syneto-edge-update

Wait for syneto-edge-update to finish. Time: 15-20 minutes.

If it has successfuly finished:

<missing image>

Check if the file below exists.

ls /var/storage/initial_setup

If the file exists, remove it.

rm /var/storage/initial_setup

Check the link of the syneto ssl configuration file.

ls -la /etc/nginx/conf.d/syneto-ssl.conf

If it points towards syneto-ssl.conf.before-syneto-setup - see image below, then you must change the symlink.

unlink /etc/nginx/conf.d/syneto-ssl.conf
ln -s /etc/nginx/syneto-ssl.conf.after-syneto-setup /etc/nginx/conf.d/syneto-ssl.conf

Restart nginx:

systemctl restart nginx

Connect to the IP via browser!