• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. Organizing self-hosted classical music collection

      I'm currently using Navidrome to self-host my music collection, while using DSub to listen on-the-go. This works very well for most genres, except for the bulk of my music which is classical...

      I'm currently using Navidrome to self-host my music collection, while using DSub to listen on-the-go.

      This works very well for most genres, except for the bulk of my music which is classical music. This presents its own host of problems pertaining to cataloguing and using metadata, since there are often multiple recordings of the same musical composition, recorded by multiple conductors with different orchestras and/or soloists. There may also be different instrumental arrangements of the same musical piece. Merely sorting by "Artist" is therefore quite unsatisfactory in this scenario.

      Some streaming services have come up with quite satisfying solutions in my experience (notably Apple Music Classical and Idagio), but I am not sure how to go about listening to my own self-hosted classical music.

      Is anybody here on Tildes familiar with this organizational problem? I would be very eager to hear how you have tackled this. Is there any self-hosted software more suitable to cataloguing musical collections with extensive metadata?

      13 votes
    2. Do C programmers usually create and curate a personal library for their own use?

      I've been using mostly C at my current job for about half a year now, and I find myself reusing some little function that I've written for another code base in current projects. I'm relatively new...

      I've been using mostly C at my current job for about half a year now, and I find myself reusing some little function that I've written for another code base in current projects. I'm relatively new to this, so I'm wondering if it makes sense to have a repertoire of general purpose utility functions and whatnot for future use.

      I mean, the language's pretty established and whatever I think of must have been written by somebody else already, so is there even a need for what I'm talking about? Are there well-known open source libraries that resemble what I am talking about? Should I just include them instead of writing my own?

      Sorry if this is a bit vague. General purpose as in string manipulation, debug output, buffer operations, implementations of data types not in C, etc., just to name a few examples.

      32 votes
    3. How to clean up the space taken by old Snap and flatpak files

      When Snap and\or flatpak install or update packages they do not always do so cleanly Snap for example can keep up to 3 previous versions on updating and if you are struggling for space then this...

      When Snap and\or flatpak install or update packages they do not always do so cleanly

      Snap for example can keep up to 3 previous versions on updating and if you are struggling for space then this can be a Bad Thingtm

      These couple of pages show a good reliable way to tidy up and get back some disk space
      Snap

      Flatpak

      Please note, I am not the author. The articles are on a website called debugpoint.com and does not carry a credit

      4 votes
    4. Fixing overscan on an uncooperative TV-monitor

      This is mainly so I can find this again and not have to rediscover this for the third time after I forget. I can't find this exact solution anywhere else so I figured I should put it somewhere. I...

      This is mainly so I can find this again and not have to rediscover this for the third time after I forget. I can't find this exact solution anywhere else so I figured I should put it somewhere.

      I have a terrible Insignia tv that locks the overscan option so you can't even turn it off, and linux mint for whatever reason doesn't recognize it as a TV so I can't use their automatic TV adjustments. This is just for x11 afaik.

      So in the end, I used the underscan to defeat the overscan and it works great:

      xrandr to get the output name the TV is using, then

      xrandr --output <name-of-tv-output> --set underscan on --set "underscan hborder" <0-128> --set "underscan vborder" <0-128>

      to enable underscan and tweak the border values which squash the edges of the screen, undoing the effects of the overscan.

      for me the optimal values are 128h 40v but you can just experiment by typing the command into the console before you make it permanent.

      8 votes
    5. What's a simple, cheap way to run a database-backed website as a hobbyist?

      I use Github and Netlify to run some simple websites for free. It works well. However, I've been thinking of experimenting with a database-backed website for fun and Netlify doesn't have any...

      I use Github and Netlify to run some simple websites for free. It works well. However, I've been thinking of experimenting with a database-backed website for fun and Netlify doesn't have any persistence.

      What's a good way to do this that scales to zero when nobody's using it? I want to be able to forget about it entirely for months or years at a time. When someone visits, it should start up and run on demand without costing me $20 a month on standby.

      Back in the day, I used Google App Engine for this. I learned a lot of datastore tricks to get around its poor latency, but I'm lazy and don't want to do that anymore. I'm pretty sure I want a SQL database and full text search. Either sqlite or Postgres would do, but I doubt there's a cheap enough way to run Postgres.

      Litestream looks interesting and so does LiteFS, except that it's pre-1.0 and I don't know what changes fly.io will make that I have to keep up with. If I used Litestream, I'd have to figure out how to run it and where to store the replication logs.

      Edit: one nice-to-have is being able to easily dump the database and run it locally or on another cloud provider. (I don't anticipate it getting so big that it's impractical.)

      47 votes
    6. Fortnightly Programming Q&A Thread

      General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads. Don't forget to format your code using the triple...

      General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads.

      Don't forget to format your code using the triple backticks or tildes:

      Here is my schema:
      
      ```sql
      CREATE TABLE article_to_warehouse (
        article_id   INTEGER
      , warehouse_id INTEGER
      )
      ;
      ```
      
      How do I add a `UNIQUE` constraint?
      
      11 votes
    7. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      46 votes
    8. Dealing with databases, inserts, updates, etc. in Python

      Current Library: built in sqlite Current db: sqlite (but will have access to Snowflake soon for option 1 below) Wondering if anyone here has some advise or a good place to learn about dealing with...

      Current Library: built in sqlite
      Current db: sqlite (but will have access to Snowflake soon for option 1 below)

      Wondering if anyone here has some advise or a good place to learn about dealing with databases with Python. I know SQL fairly well for pulling data and simple updates, but running into potential performance issues the way I've been doing it. Here are 2 examples.

      1. Dealing with Pandas dataframes. I'm doing some reconciliation between a couple of different datasources. I do not have a primary key to work with. I have some very specific matching criteria to determine a match (5 columns specifically - customer, date, contract, product, quantity). The matching process is all built within Python. Is there a good way to do the database commits with updates/inserts en masse vs. line by line? I've looked into upsert (or inserts with clause to update with existing data), but pretty much all examples I've seen rely on primary keys (which I don't have since the data has 5 columns I'm matching on).

      2. Dealing with JSON files which have multiple layers of related data. My database is built in such a way that I have a table for header information, line level detail, then third level with specific references assigned to the line level detail. As with a lot of transactional type databases there can be multiple references per line, multiple lines per header. I'm currently looping through the JSON file starting with the header information to create the primary key, then going to the line level detail to create a primary key for the line, but also include the foreign key for the header and also with the reference data. Before inserting I'm doing a lookup to see if the data already exists and then updating if it does or inserting a new record if it doesn't. This works fine, but is slow taking several seconds for maybe 100 inserts in total. While not a big deal since it's for a low volume of sales. I'd rather learn best practice and do this properly with commits/transactions vs inserting an updating each record individually within the ability to rollback should an error occur.

      11 votes
    9. Is there a good microprocessor with 24-bit addressing?

      The original IBM 360 had a 24-bit address space. https://en.wikipedia.org/wiki/IBM_System/360 Microprocessors of the golden age of home computing (Apple ][, TRS-80, Commodore 64, CP/M machines...

      The original IBM 360 had a 24-bit address space.

      https://en.wikipedia.org/wiki/IBM_System/360

      Microprocessors of the golden age of home computing (Apple ][, TRS-80, Commodore 64, CP/M machines based on the 8080 and Z80) usually had a 16-bit address space, the 8086/8088 was a bit of an exception because it had a segmentation scheme to access 1 MB. (People thought it was awkward but I liked programming it in assembly language and Turbo Pascal) I remember the PDP-11 minicomputer having a 16-bit address space for user programs as well, the machine as a whole could be a lot bigger but an individual logged into it had access to a virtual "home computer" that ran BASIC and all.

      24-bit was a natural evolution and by the late 1980s you started to see 24-bit chips like the 80286 (PC AT) the 65C816 (Apple IIgs, Ninteno SNES), the eZ80 and such. Even the bigger AVR8 processors (I love AVR8 assembly) can have more than 64kb of program memory (flash, read-only in operation) so they use 24-bit addresses for program memory.

      In my mind we never saw a product of this generation that really took advantage of the address space, the 80286 in particular was called "brain damaged" by Bill Gates and operating systems struggled to exploit it. My take is that most of the chips of that generation were flawed in one way or another and were pretty quickly washed away by 32-bit machines when they became affordable in the early 1990s.

      For an example of the difficulties, there is this project to make a retrocomputer that is a bit better than anything we had in the 1980s,

      https://www.youtube.com/watch?v=0oYcu43N-lw

      they are using the 65C816 but not taking advantage of the 24-bit nature. Instead there is a simple bank switching scheme which I think they thought would be easier to program and probably faster. The 65C816 just doesn't have enough registers and addressing modes for it to be really easy to work with far pointers.

      So my question is, if I am a hobbyist who wants to revive the 24-bit generation and I want to have easy access to a 16MB address space, is there some CPU better that doesn't suck? I'd be happy with a CPU that doesn't have virtual memory or other facilities for an advanced operating system (write everything in "real mode") but something that supports an OS would be interesting too. Any ideas?

      7 votes
    10. COM+ alternatives in 2023?

      We are small company and have utilized COM+ on the server for the last 20 years. Strictly Windows and all LAN based communication. We are rewriting in c#. What are some alternatives that I can...

      We are small company and have utilized COM+ on the server for the last 20 years. Strictly Windows and all LAN based communication. We are rewriting in c#. What are some alternatives that I can look in to that may be better in terms of speed or management for COM+?

      7 votes
    11. Looking for resources about AI development

      Hello, I'm looking for resources on how to develop AI, aimed at people who already have experience with programming. They don't have to be free, I would just like to aggregate different type of...

      Hello,
      I'm looking for resources on how to develop AI, aimed at people who already have experience with programming.

      They don't have to be free, I would just like to aggregate different type of resources to pick from.

      Thanks!

      14 votes
    12. How to go about mirroring a repo to separate real identity from online identity?

      I struggled to word this question. Let's say that I wish to work on a project to benefit Tildes (I don't currently have an idea, but just for example). Anything I did, I would like to keep...

      I struggled to word this question.

      Let's say that I wish to work on a project to benefit Tildes (I don't currently have an idea, but just for example). Anything I did, I would like to keep opensource and would encourage other users to contribute. But I would like to keep everything linked to my pseudonym as not to dox myself.

      However, I would like to have a copy of everything on my personal GitHub as well, because I am a professional programmer and that is effectively my CV.

      Is there a good way to mirror a repo in a way that any git history contributed by me, "John Smith", is changed to "bugsmith" on the mirrored repo? (or vice versa).

      6 votes
    13. What was your first programming language, what languages do you know now, and what tips do you have for those trying to learn any of those?

      What was your first programming language, what other languages (if any) do you know now, and what tips do you have for those trying to learn any of those? Whether those tips are for beginners or...

      What was your first programming language, what other languages (if any) do you know now, and what tips do you have for those trying to learn any of those? Whether those tips are for beginners or even advanced, to do with APIs, or if you've got a good library to share.

      53 votes
    14. What does your self-hosted server setup look like?

      Hoping we can get some discussion on self hosting setups throughout the community and help anyone who may be interested with common setups and finding interesting software. Hardware Currently...

      Hoping we can get some discussion on self hosting setups throughout the community and help anyone who may be interested with common setups and finding interesting software.

      Hardware
      Currently running everything on a Dell 7050 SFF (intel i5-7500 and 16GB RAM) which suits my needs perfectly. Had used an older SFF before (i forget which) and a cheap older model mac mini (2012 I think) for self hosting before, but those were not the right choice as I didn't properly understand what hardware encoding was at the time. The i5-7500 handles all the media I have when transcoding is needed. Only thing it can't do is AV1, but my setup avoids those anyway.

      Operating System
      Distro Hopping habits are hard to break and that "itch" unfortunately carry over to the server. Currently running Ubuntu 22.04 LTS for a few months now, but feeling like a change is needed soon. I've used Ubuntu, Debian, and Fedora for servers before and they each have their own little problems that make me eventually switch. I am considering maybe doing a Proxmox setup so I can spin up a VM whenever that itch comes, but not sure if they added complexity is worth it in the long run.

      Software
      Yay, the best part! My self hosting stack has changed a ton over the years. Everything in my stack is in a docker container through a set of badly written compose files (planning on redoing things, cleaning things up, making things consistent, etc.). I'll just do a rundown of everything with a brief description of what it is:

      • Plex Gives me a Netflix like streaming experience at home. Currently working on shifting things over to JellyFin as Plex is starting to grow increasingly buggy for me.
      • Sonarr Automatically tracks and downloads all my shows. I have two instances of this running, one for normal tv shows and another for anime
      • Radarr Automatically tracks and downloads all my movies.
      • Prowlarr Sowers the high seas for what Sonarr and Radarr are looking for and gives them the "linux iso".
      • rdt-client Probably different to most peoples setups. I use a debrid service (not sure why people call them that), to download my "linux iso's" for me and I do a direct download from them. Much quicker and no torrenting traffic on my end. Also it's also cheaper than paying for a VPN usually.
      • File Browser A good web ui for managing files
      • Nginx Proxy Manager Is a reverse proxy for all of my services and gives me HTTPS for everything. Gets rid of the annoying browser warnings.
      • Tailscale The most recent addition to my setup. Allows me to access my network anywhere. Similar to a VPN (I know it uses wireguard under the hood), but does a lot of magic for you and just makes everything work and connect together, its really cool.
      • Adguard Home Gives me a local DNS server that does DNS level ad blocking. Never given me problems and it works well, but I am thinking of reducing the complexity of my setup and removing it. There tons of DNS servers out there that can do the same thing and I don't mind trusting a few of them (like quad9 or mullvad dns).
      • Watchtower It monitors all my docker containers and keeps them up-to-date. If a new version is out, it will automatically download the latest version and restart the container and delete the old container version. I know its not the best idea, but its only cause a break 1 time with 1 container in the couple years I've run this setup.
      • Homepage Literally the homepage for all my services. I've tried a lot of different ones and Homepage is easily the best. Simple, but powerful to configure.

      Keen eyes may have noticed the lack of backup software. I'll get around to that, eventually.

      47 votes
    15. Looking for a remote storage provider to use for storing backups

      I'm looking for mountable remote storage that I can use for my backup solution at home. I'm trying to get set up with backuppc and need to be able to mount a large remote filesystem to store my...

      I'm looking for mountable remote storage that I can use for my backup solution at home. I'm trying to get set up with backuppc and need to be able to mount a large remote filesystem to store my archives. I've tried renting a 1TB storage box from Hetzner, but my account was rejected (I assume because of a recent legal name change). Can anybody recommend a similar provider of remote storage that I can rent and mount onto my server?

      27 votes
    16. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      30 votes
    17. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      27 votes
    18. Firefox refuses to use fonts in ~user/.config/fontconfig/fonts.conf

      I have the following on my fonts.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <alias> <family>system-ui</family> <prefer> <family>FreeSans</family> </prefer>...

      I have the following on my fonts.conf

      <?xml version="1.0"?>
      <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
      <fontconfig>
        <alias>
          <family>system-ui</family>
          <prefer>
            <family>FreeSans</family>
          </prefer>
        </alias>
      </fontconfig>
      

      But when websites use font-family: system-ui firefox just ignores this and uses Cantarell anyway, which I don't even know where it is getting it from. (Not Firefox font preferences).

      Any idea how to make firefox respect my fonts.conf?

      This is Linux with i3.

      11 votes
    19. Is it normal to stress about your codebase becoming bad?

      Lately, I've been working on a game in Godot. I've having a lot of fun, but I keep stressing out about my codebase becoming bad. I'm worrying about amassing technical debt, and having to rewrite...

      Lately, I've been working on a game in Godot. I've having a lot of fun, but I keep stressing out about my codebase becoming bad. I'm worrying about amassing technical debt, and having to rewrite huge amounts of code because of bad practices.

      I've been reading best practices documentation for Godot, and learning about game programming patterns, but it's still a worry for me.

      I'm wondering if this is a normal feeling, and how more experienced developers manage it.

      24 votes
    20. Framework laptop users: what's your build?

      The Framework laptop is a completely modular, upgradeable laptop that comes pretty close to higher end laptops in terms of performance and "feel". For those of you who have/want a Framework...

      The Framework laptop is a completely modular, upgradeable laptop that comes pretty close to higher end laptops in terms of performance and "feel". For those of you who have/want a Framework laptop, what does your build look like?

      I've got:

      • 11th Gen Framework with Intel i5 (not the most powerful, but I wanted to get something quickly and relatively inexpensively)
      • Dual booting Ubuntu and Fedora right now since they appear to have the best Linux compatibility and Framework community support
      • Expansion ports: USB-C on the left and right so I can plug the charger in from a multitude of angles and directions! And I've got a grab bag of MicroSD, standard USB, etc. that can be switched out.
      • I'll upgrade the system at some point -- unsure of whether I should stick with Intel or move to the new AMD board. I guess I'm not really sure of the benefits of doing so...

      What OS are you using? What's your laptop build, and what plans do you have in the future? Have you had any major issues thus far?

      24 votes
    21. Why do some Flatpak software recognize system settings, while others do not?

      Recently, I upgraded my PC to Debian 12 and chose KDE as my Desktop Environment. For this fresh installation, I decided to maintain only the core packages managed by "apt" and started using...

      Recently, I upgraded my PC to Debian 12 and chose KDE as my Desktop Environment. For this fresh installation, I decided to maintain only the core packages managed by "apt" and started using Flatpak for my apps.

      Some Flatpak apps perform flawlessly out of the box, such as LibreOffice and QGIS. They adjust the language to my localization and adopt the theming from my system effortlessly. However, others like Obsidian and Zotero require manual adjustment of settings by modifying the configuration files.

      I understand that Flatpak applications are sandboxed, so I initially expected them not to recognize my system configuration files. However, I am puzzled as to why some apps do recognize them while others don't. I have attempted to read some documentation on Flatpak itself, and if I understand correctly, Flatpak has the capability to read from system configuration files. However, I haven't fully grasped how it accomplishes this (is there anything to do with portals?) and why it only applies to certain packages.

      9 votes
    22. Can someone ELI5 how lemmy instances work?

      Some of the things I'm concerned about are browsing across unconnected instances - will I need twenty accounts to follow all of the groups? What is the likelihoood of an instance dissapearing? How...

      Some of the things I'm concerned about are browsing across unconnected instances - will I need twenty accounts to follow all of the groups? What is the likelihoood of an instance dissapearing? How do you gauge the culture of an instance? Is the https://redditmigration.com/ actually being populated by real admins of those subreddits? Are there any gotchas from joining an instance that I should be aware of? Thanks!

      21 votes
    23. When consuming an API with state rate limits, how should one handle not exceeding them?

      My typical approach is one that I believe is pretty common: Reading the response header for current count and waiting if the limit is reached. However, I am currently working with a couple of APIs...

      My typical approach is one that I believe is pretty common: Reading the response header for current count and waiting if the limit is reached.

      However, I am currently working with a couple of APIs which don't implement that and are currently set up with rate limits on an honesty system.

      Is it a case of throwing sleep statements into you code, or using some kind of "bucket" and "lock" system?

      I'd be interested to see any simple implementation people have used (the simpler the better).

      9 votes
    24. Need help solutioning Microsoft APIM

      We have a backend that kind of does REST APIs but cannot handle simple Bearer tokens for authorization and cannot produce the full set of HTTP error codes (the platform just doesn't allow, for...

      We have a backend that kind of does REST APIs but cannot handle simple Bearer tokens for authorization and cannot produce the full set of HTTP error codes (the platform just doesn't allow, for example HTTP 501 to be returned programmatically). There is no Swagger for the API.

      The thought was to use Microsoft API Management Services as a proxy of sorts. It would handle the Bearer token upfront, and then just proxy / wildcard the requests/responses to the backend. The hard part is that it needs to parse the return response, and if there is something like "{ errorCode: 501 }" property in the JSON, it needs to return HTTP 501 instead of the regular payload.

      Does anyone have any experience in setting this up? It seems like the basic policy processing won't cut it, and so function apps and logic apps seem to be the ticket. We want to keep this facade layer as thin as possible. Microsoft APIM is the only platform we're allowed to consider at this time.

      4 votes
    25. Docker Nextcloud AIO Mastercontainer update failing

      I've got a problem with my nextcloud and as tildes is my favourite nice place to ask for tech-support, maybe somebody here can help me with that. I can start and run Nextcloud AIO without any...

      I've got a problem with my nextcloud and as tildes is my favourite nice place to ask for tech-support, maybe somebody here can help me with that.

      I can start and run Nextcloud AIO without any problems. I can update the subcontainers without any problems. But the update of the Mastercontainer always fails and I don't kno why, only that it has to be something with docker.sock and permissions, but I could not resolve the issues, and google does not seem to be helpful (or I'm looking for the wrong stuff).

      my update logs:

      time="2023-06-14T12:47:59Z" level=debug msg="Sleeping for a second to ensure the docker api client has been properly initialized."
      time="2023-06-14T12:48:00Z" level=debug msg="Making sure everything is sane before starting"
      time="2023-06-14T12:48:00Z" level=info msg="Watchtower 1.5.3"
      time="2023-06-14T12:48:00Z" level=info msg="Using no notifications"
      time="2023-06-14T12:48:00Z" level=info msg="Only checking containers which name matches \"nextcloud-aio-mastercontainer\""
      time="2023-06-14T12:48:00Z" level=info msg="Running a one time update."
      time="2023-06-14T12:48:00Z" level=debug msg="Checking containers for updated images"
      time="2023-06-14T12:48:00Z" level=debug msg="Retrieving running containers"
      time="2023-06-14T12:48:00Z" level=debug msg="FIXME: Got an status-code for which error does not match any expected type!!!" error="Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?" module=api status_code=-1
      time="2023-06-14T12:48:00Z" level=error msg="Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x9f4a22]
      
      goroutine 1 [running]:
      github.com/containrrr/watchtower/pkg/metrics.NewMetric({0x0, 0x0})
      	/home/runner/work/watchtower/watchtower/pkg/metrics/metrics.go:31 +0x22
      github.com/containrrr/watchtower/cmd.runUpdatesWithNotifications(0xc0002fd830)
      	/home/runner/work/watchtower/watchtower/cmd/root.go:375 +0x15e
      github.com/containrrr/watchtower/cmd.Run(0xc00033c300?, {0xc000281300?, 0x4?, 0x4?})
      	/home/runner/work/watchtower/watchtower/cmd/root.go:168 +0x570
      github.com/spf13/cobra.(*Command).execute(0xc00033c300, {0xc0000300b0, 0x4, 0x4})
      	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920 +0x847
      github.com/spf13/cobra.(*Command).ExecuteC(0xc00033c300)
      	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bc
      github.com/spf13/cobra.(*Command).Execute(...)
      	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
      github.com/containrrr/watchtower/cmd.Execute()
      	/home/runner/work/watchtower/watchtower/cmd/root.go:71 +0x52
      main.main()
      	/home/runner/work/watchtower/watchtower/main.go:13 +0x17
      
      

      my startup command

      sudo docker run \
      --sig-proxy=false \
      --name nextcloud-aio-mastercontainer \
      --restart unless-stopped \
      --publish 8080:8080 \
      -e APACHE_PORT=11000 \
      -e APACHE_IP_BINDING=127.0.0.1 \
      --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
      --volume /var/run/docker.sock:/var/run/docker.sock:ro \
      nextcloud/all-in-one:latest
      

      output after start:

      Trying to fix docker.sock permissions internally...
      Creating docker group internally with id 998
      WARNING: No swap limit support
      Initial startup of Nextcloud All-in-One complete!
      You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
      E.g. https://internal.ip.of.this.server:8080
      
      If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
      https://your-domain-that-points-to-this-server.tld:8443
      ++ head -1 /mnt/docker-aio-config/data/daily_backup_time
      + BACKUP_TIME=04:00
      + export BACKUP_TIME
      + export DAILY_BACKUP=1
      + DAILY_BACKUP=1
      ++ sed -n 2p /mnt/docker-aio-config/data/daily_backup_time
      + '[' '' '!=' automaticUpdatesAreNotEnabled ']'
      + export AUTOMATIC_UPDATES=1
      + AUTOMATIC_UPDATES=1
      + set +x
      {"level":"info","ts":1686746753.2700157,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
      {"level":"info","ts":1686746753.2748601,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details."}
      [14-Jun-2023 12:45:53] NOTICE: fpm is running, pid 106
      [14-Jun-2023 12:45:53] NOTICE: ready to handle connections
      
      

      I tried to change permissions on /var/run/docker.sock
      I tried to change permissions on /lib/systemd/system/docker.sock

      same but with restart of docker.sock
      same but with restart of docker.sock and docker.service

      nothing helped

      does somebody know where I go wrong or can me point in the right direction to resolve this problem? It's not a game stopper as I can update the container manually, but it is annoying.

      edit: it runs on a ubuntu server 20.04.6 LTS

      6 votes