Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM64 Support #6

Closed
C9Glax opened this issue Jun 9, 2023 · 18 comments · Fixed by #233 or #244
Closed

ARM64 Support #6

C9Glax opened this issue Jun 9, 2023 · 18 comments · Fixed by #233 or #244
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@C9Glax
Copy link
Owner

C9Glax commented Jun 9, 2023

No description provided.

@C9Glax C9Glax added enhancement New feature or request help wanted Extra attention is needed labels Jun 9, 2023
@C9Glax C9Glax added the wontfix This will not be worked on label Jul 20, 2023
@C9Glax
Copy link
Owner Author

C9Glax commented Jul 20, 2023

no official .net core support for arm64

@C9Glax C9Glax closed this as completed Jul 20, 2023
@schklom
Copy link
Contributor

schklom commented Jul 21, 2023

It looks like a trick allows to use dotnet restore for ARM: NuGet/Home#12227 (comment)

I don't know much about this, but maybe worth a try?

@C9Glax C9Glax reopened this Jul 21, 2023
@C9Glax C9Glax removed the wontfix This will not be worked on label Jul 21, 2023
@C9Glax
Copy link
Owner Author

C9Glax commented Jul 21, 2023

Will take a look after my vacation, won't start debugging stuff while sitting in this lawnchair.

@bubez81
Copy link

bubez81 commented Mar 5, 2024

very interested!

@Lreaper
Copy link

Lreaper commented Mar 8, 2024

+1

@BearTS
Copy link

BearTS commented Jun 10, 2024

+1
is this still in the roadmap?

@C9Glax C9Glax linked a pull request Aug 31, 2024 that will close this issue
@C9Glax C9Glax linked a pull request Sep 9, 2024 that will close this issue
@bubez81
Copy link

bubez81 commented Sep 9, 2024

Sorry can't understand..it's supported now?

@C9Glax
Copy link
Owner Author

C9Glax commented Sep 9, 2024

Yes, yes it should. I have no means to test if the built container actzually runs on ARM, but it at least builds

@bubez81
Copy link

bubez81 commented Sep 9, 2024

Ok, but I'm receiving this error. am I doing something wrong?

Failed to pull images of the stack: tranga-website Pulling tranga-api Pulling no matching manifest for linux/arm64/v8 in the manifest list entries

@C9Glax
Copy link
Owner Author

C9Glax commented Sep 9, 2024

Ah forgot the frontend . -. When at PC ii'll fix

@bubez81
Copy link

bubez81 commented Sep 9, 2024

ok tnx! cuttingedge or latest?

@C9Glax
Copy link
Owner Author

C9Glax commented Sep 10, 2024

Both should now also have built for arm 👍🏼

@bubez81
Copy link

bubez81 commented Sep 10, 2024

mm are you sure?
Maybe I am doing something wrong:

services:
  tranga-api:
    platform: linux/arm64
#    image: glax/tranga-api:latest
    image: glax/tranga-api:cuttingedge
    container_name: tranga-api
    volumes:
      - /Volumes/Parcheggio/Lettura/Manga:/Manga
      - /opt/tranga:/usr/share/tranga-api
    environment:
      - TZ=Europe/Rome
      - USER_ID=502
      - GROUP_ID=20
    ports:
      - "6531:6531"
    restart: unless-stopped
  tranga-website:
    platform: linux/arm64
#    image: glax/tranga-website:latest
    image: glax/tranga-website:cuttingedge
    container_name: tranga-website
    ports:
      - "9555:80"
    depends_on: 
      - tranga-api
    restart: unless-stopped

think it's working on latest now
Yes, it's not working on cuttingedge, but I use this version

@C9Glax
Copy link
Owner Author

C9Glax commented Sep 10, 2024

No you werent, for some reason tranga-api:cuttingedge didn't build arm64... I am a bit confused, but checking the tags now it should have a arm64 image

@bubez81
Copy link

bubez81 commented Sep 10, 2024

Thank you! There is a problem in cuttingedge tranga-website?:

It's not working but can't understand the problem:

2024/09/10 12:29:35 [error] 35#35: *2 open() "/usr/share/nginx/html/styles/style_default.css" failed (2: No such file or directory), client: 192.168.165.1, server: _, request: "GET /styles/style_default.css HTTP/1.1", host: "192.168.1.2:9555", referrer: "http://192.168.1.2:9555/"
192.168.165.1 - - [10/Sep/2024:12:29:36 +0000] "GET / HTTP/1.1" 200 15331 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15" "-"
2024/09/10 12:29:36 [error] 35#35: *3 open() "/usr/share/nginx/html/media/cover.jpg" failed (2: No such file or directory), client: 192.168.165.1, server: _, request: "GET /media/cover.jpg HTTP/1.1", host: "192.168.1.2:9555", referrer: "http://192.168.1.2:9555/"
2024/09/10 12:29:36 [error] 35#35: *2 open() "/usr/share/nginx/html/styles/style_default.css" failed (2: No such file or directory), client: 192.168.165.1, server: _, request: "GET /styles/style_default.css HTTP/1.1", host: "192.168.1.2:9555", referrer: "http://192.168.1.2:9555/"
192.168.165.1 - - [10/Sep/2024:12:29:36 +0000] "GET /media/cover.jpg HTTP/1.1" 404 153 "http://192.168.1.2:9555/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15" "-"
192.168.165.1 - - [10/Sep/2024:12:29:36 +0000] "GET /styles/style_default.css HTTP/1.1" 404 153 "http://192.168.1.2:9555/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15" "-"
192.168.165.1 - - [10/Sep/2024:12:30:15 +0000] "GET / HTTP/1.1" 200 15331 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15" "-"
192.168.165.1 - - [10/Sep/2024:12:30:15 +0000] "GET /styles/style_default.css HTTP/1.1" 404 153 "http://192.168.1.2:9555/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15" "-"
2024/09/10 12:30:15 [error] 36#36: *1 open() "/usr/share/nginx/html/styles/style_default.css" failed (2: No such file or directory), client: 192.168.165.1, server: _, request: "GET /styles/style_default.css HTTP/1.1", host: "192.168.1.2:9555", referrer: "http://192.168.1.2:9555/"
192.168.165.1 - - [10/Sep/2024:12:30:15 +0000] "GET /media/cover.jpg HTTP/1.1" 404 153 "http://192.168.1.2:9555/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15" "-"
2024/09/10 12:30:15 [error] 35#35: *2 open() "/usr/share/nginx/html/media/cover.jpg" failed (2: No such file or directory), client: 192.168.165.1, server: _, request: "GET /media/cover.jpg HTTP/1.1", host: "192.168.1.2:9555", referrer: "http://192.168.1.2:9555/"
192.168.165.1 - - [10/Sep/2024:12:30:16 +0000] "GET / HTTP/1.1" 200 15331 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15" "-"
192.168.165.1 - - [10/Sep/2024:12:30:16 +0000] "GET /styles/style_default.css HTTP/1.1" 404 153 "http://192.168.1.2:9555/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15" "-"
192.168.165.1 - - [10/Sep/2024:12:30:16 +0000] "GET /media/cover.jpg HTTP/1.1" 404 153 "http://192.168.1.2:9555/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15" "-"
2024/09/10 12:30:16 [error] 36#36: *1 open() "/usr/share/nginx/html/styles/style_default.css" failed (2: No such file or directory), client: 192.168.165.1, server: _, request: "GET /styles/style_default.css HTTP/1.1", host: "192.168.1.2:9555", referrer: "http://192.168.1.2:9555/"
2024/09/10 12:30:16 [error] 35#35: *2 open() "/usr/share/nginx/html/media/cover.jpg" failed (2: No such file or directory), client: 192.168.165.1, server: _, request: "GET /media/cover.jpg HTTP/1.1", host: "192.168.1.2:9555", referrer: "http://192.168.1.2:9555/"```

in the latest I can navigate on website and select options etc ecc...on cuttingedge nothing in the website is clickable
 

@C9Glax
Copy link
Owner Author

C9Glax commented Sep 11, 2024

This is a website error yeah, but people have also reported that it is working... Gonna have to check myself first.

@bubez81
Copy link

bubez81 commented Sep 11, 2024

Seems that the problem is only on cuttingedge

After your last commits I think it's working now!

@bubez81
Copy link

bubez81 commented Sep 12, 2024

not sure if this is related to this but this morning I notice this crash on Tranga-api:

on Billy Bat YmlsbHliYXQyMDA4
[09/12/2024 08:26:51.228]       JobBoss | Adding Job to Queue. Tranga.Jobs.UpdateMetadata-bXlibGFzdGVkcmVpbmNhcm5hdGVkbGlmZTIwMjI= Manga: Publication My Blasted Reincarnated Life bXlibGFzdGVkcmVpbmNhcm5hdGVkbGlmZTIwMjI=
[09/12/2024 08:26:51.228]       JobBoss | Adding Job to Queue. Tranga.Jobs.UpdateMetadata-b25lcHVuY2htYW4yMDEy Manga: Publication One Punch-Man b25lcHVuY2htYW4yMDEy
Unhandled exception. System.IO.FileNotFoundException: Could not find file '/Manga/Solo Max-Level Newbie/series.json'.
File name: '/Manga/Solo Max-Level Newbie/series.json'
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
   at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
   at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
   at Tranga.Manga.SaveSeriesInfoJson(Boolean overwrite) in /src/Tranga/Manga.cs:line 159
   at Tranga.Jobs.DownloadNewChapters.ExecuteReturnSubTasksInternal(JobBoss jobBoss) in /src/Tranga/Jobs/DownloadNewChapters.cs:line 36
   at Tranga.Jobs.Job.ExecuteReturnSubTasks(JobBoss jobBoss) in /src/Tranga/Jobs/Job.cs:line 92
   at Tranga.Jobs.JobBoss.CheckJobs() in /src/Tranga/Jobs/JobBoss.cs:line 276
   at Tranga.Tranga.<StartJobBoss>b__10_0() in /src/Tranga/Tranga.cs:line 73

and if I delete this manga, the error come with another manga

and if I delete the entire directory "Tranga" and re-add the manga Solo Max this is the error:

ld2JpZTIwMjE=
[09/12/2024 08:39:24.692]        Server | Listening on http://*:6531/
[09/12/2024 08:39:24.790]       JobBoss | Adding Job to Queue. Tranga.Jobs.DownloadNewChapters-aW10aGVtYXhsZXZlbG5ld2JpZTIwMjE= Manga: Publication I'm the Max-Level Newbie aW10aGVtYXhsZXZlbG5ld2JpZTIwMjE=
Unhandled exception. System.IO.IOException: Too many open files in system : '/Manga/I'm the Max-Level Newbie'
   at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
   at System.IO.Directory.CreateDirectory(String path)
   at Tranga.Manga.CreatePublicationFolder(String downloadDirectory) in /src/Tranga/Manga.cs:line 122
   at Tranga.Manga.SaveSeriesInfoJson(Boolean overwrite) in /src/Tranga/Manga.cs:line 154
   at Tranga.Jobs.DownloadNewChapters.ExecuteReturnSubTasksInternal(JobBoss jobBoss) in /src/Tranga/Jobs/DownloadNewChapters.cs:line 36
   at Tranga.Jobs.Job.ExecuteReturnSubTasks(JobBoss jobBoss) in /src/Tranga/Jobs/Job.cs:line 92
   at Tranga.Jobs.JobBoss.CheckJobs() in /src/Tranga/Jobs/JobBoss.cs:line 276
   at Tranga.Tranga.<StartJobBoss>b__10_0() in /src/Tranga/Tranga.cs:line 73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants