jetelain / cTab

Public repository for cTab
http://ctab.plan-ops.fr/
GNU General Public License v2.0
8 stars 7 forks source link

EXEC error when selfhosting #58

Closed ItsGiantCookie closed 6 months ago

ItsGiantCookie commented 6 months ago

I'm getting the following error when trying to host my own version of ctabirl

systemd[1]: Started kestrel-ctab.service - cTabWebApp.
(abWebApp)[5572]: kestrel-ctab.service: Failed to locate executable /var/www/ctab/cTabWebApp: Is a directory
(abWebApp)[5572]: kestrel-ctab.service: Failed at step EXEC spawning /var/www/ctab/cTabWebApp: Is a directory
systemd[1]: kestrel-ctab.service: Main process exited, code=exited, status=203/EXEC
systemd[1]: kestrel-ctab.service: Failed with result 'exit-code'.

I followed the guide exactly so I am confused as to why I'm getting errors

jetelain commented 6 months ago

Hi,

What does output ls -la /var/www/ctab/cTabWebApp ?

HendrikTank commented 6 months ago

Hi, thanks for getting back to me so quickly, here's the output

drwxr-xr-x 13 ctab ctab  4096 30. Apr 02:49 .
drwxrwxrwx  5 ctab ctab  4096 30. Apr 14:24 ..
-rw-r--r--  1 ctab ctab   596 30. Apr 02:48 appsettings.json
drwxr-xr-x  3 root root  4096 30. Apr 02:49 bin
drwxr-xr-x  2 ctab ctab  4096 30. Apr 02:48 .config
drwxr-xr-x  2 ctab ctab  4096 30. Apr 02:48 Controllers
-rw-r--r--  1 ctab ctab  1751 30. Apr 02:48 cTabWebApp.csproj
drwxr-xr-x  2 ctab ctab  4096 30. Apr 02:48 Hub
-rw-r--r--  1 ctab ctab  1097 30. Apr 02:48 LICENSE
-rw-r--r--  1 ctab ctab   716 30. Apr 02:48 Marker.cs
drwxr-xr-x  2 ctab ctab  4096 30. Apr 02:48 Models
drwxr-xr-x  3 root root  4096 30. Apr 02:49 obj
-rw-r--r--  1 ctab ctab  1704 30. Apr 02:48 Program.cs
drwxr-xr-x  3 ctab ctab  4096 30. Apr 02:48 Properties
drwxr-xr-x  2 ctab ctab  4096 30. Apr 02:48 Services
-rw-r--r--  1 ctab ctab 70671 30. Apr 02:48 SharedResource.Designer.cs
-rw-r--r--  1 ctab ctab 29553 30. Apr 02:48 SharedResource.fr.resx
-rw-r--r--  1 ctab ctab 28799 30. Apr 02:48 SharedResource.resx
-rw-r--r--  1 ctab ctab  4743 30. Apr 02:48 Startup.cs
-rw-r--r--  1 ctab ctab   782 30. Apr 02:48 SteamHelper.cs
drwxr-xr-x  2 ctab ctab  4096 30. Apr 02:48 TacMaps
-rw-r--r--  1 ctab ctab  1577 30. Apr 02:48 updateFromStringTable.ps1
drwxr-xr-x  4 ctab ctab  4096 30. Apr 02:48 Views
drwxr-xr-x  5 ctab ctab  4096 30. Apr 02:48 wwwroot
ItsGiantCookie commented 6 months ago

Commented with the wrong profile but that's my output

ItsGiantCookie commented 6 months ago

i noticed that your guide doesn't mention that you need to publish the .net application, which also fails due to a CS0246 missing assembly references error for Arma3TacMapLibrary

jetelain commented 6 months ago

Git submodules are required to build the application. I will add a github action to generate a ready to use linux binary

ItsGiantCookie commented 6 months ago

Hi, I don't want to be pushy or anything, but can you give a rough ETA on the binary, just so I don't set false expectations with my group, as they keep asking me about it😅

jetelain commented 6 months ago

Hi,

I have added the binaries to the current release.

Documentation have been updated : https://github.com/jetelain/cTab/commit/2d59e536dd14158a16a47b4e148d7d43eaede611

The pre-built binary is available here : https://github.com/jetelain/cTab/releases/download/2.7.0.0/cTabIRL_MultiPlayer_Linux_x64.zip

Have a nice day