Skip to content

[Guide] Deploying cTab community server on raspberry pi #94

@alan245245

Description

@alan245245

I am writing this to give more information to people trying to host their server on Raspberry Pi which took me around 2 nights to figure things out.

System Information:
Raspberry Pi 3
Pi OS

You should note that the original release does not include this

1. Exec format error

Issue:
If you encounter this error after following configureLinuxServer.md that means you have used the wrong distribution. The packed zip file includes a distribution that runs on linux-64x. However, Pi 3 runs on Arm-64x which makes it unable to run. Therefore you need to compile it on your computer.

Solution:
First, you need to download cTabWebApp (This repository) into a folder (e.g. Github).

Then you need to download Arma3TacMapLibrary from jetalain repository into the folder you have placed cTabWebApp (e.g. Github). https://github.com/jetelain/Arma3TacMap

You should have something like this in your folder

Image

Then you can open cTabWebApp.sln in cTabIRL folder in cTabWebApp repository you have downloaded.

Publish the web app with updated parameters shown below.

Image

Use any file transfer method you prefer to put the compiled application to the location of your web app installation path (Default: /var/www/ctab)

The error should now resolved. but you could encounter problem number 2.

2. You need to install .net Framework

Issue:
If you install .net Framework using the shell scrips provided by Microsoft, you would install it on your user only. (https://learn.microsoft.com/en-us/dotnet/iot/deployment)

Solution:
The installation script should install .net under your home directory (i.e /home/username/.dotnet).

You can move the files inside /home/username/.dotnet under /usr/share/dotnet and the issue should be solved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions