Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

koillection : A self-hosted website to manage all your collections

Scheduled Pinned Locked Moved App Wishlist
27 Posts 6 Posters 455 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mwithrow
    wrote on last edited by
    #1

    https://koillection.github.io/
    https://github.com/benjaminjonard/koillection

    From README on github:

    Koillection is a self-hosted collection manager created to keep track of physical (mostly) collections of any kind like books, DVDs, stamps, games... As Koillection is meant to be used for any kind of collections, it doesn't support automatic download of metadata. But it offers the possibility to add your own metadata freely.

    1 Reply Last reply
    7
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by robi
    #2

    Hmm, maybe even AI chat prompts!

    Looks like this is PHP that would work in the LAMP App.

    Life of sky tech

    1 Reply Last reply
    2
  • T Offline
    T Offline
    thetomester13 App Dev
    wrote on last edited by
    #3

    I'd like to see this on Cloudron as well! I started to package this up but the latest version only plays nice with PHP 8.2. I'm wondering if the latest PHP version can be packaged in Cloudron's base image coming up?

    1 Reply Last reply
    2
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #4

    @thetomester13 We already use 8.2 in a bunch of apps. See https://git.cloudron.io/cloudron/firefly-iii-app/-/blob/master/Dockerfile?ref_type=heads#L6

    1 Reply Last reply
    1
  • T Offline
    T Offline
    thetomester13 App Dev
    wrote on last edited by
    #5

    Thanks @girish! Will take a look at those!

    1 Reply Last reply
    1
  • T Offline
    T Offline
    thetomester13 App Dev
    wrote on last edited by
    #6

    I have a decent start for Koillection but am getting an error when trying to start up:
    Mon Sep 18 01:03:32 2023 (1): Fatal Error Preloading failed to getpwnam("koillection")

    Is someone able to help me figure this out and help me get past this error? I pushed up my what I have so far here. Any help would be appreciated! I'm obviously happy to do the clean up work on the repo afterwards, just really want to get past this one error. Thanks!

    1 Reply Last reply
    1
  • T Offline
    T Offline
    thetomester13 App Dev
    wrote on last edited by
    #7

    @girish @nebulon wondering if either of you have seen the error above previously and know of a way forward?

    1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #8

    See start.sh line 7

    Life of sky tech

    T 1 Reply Last reply
    0
  • T Offline
    T Offline
    thetomester13 App Dev
    replied to robi on last edited by
    #9

    @robi thanks for the response!
    You're talking about the 'generate-keypair' command? Yikes, I definitely did muck that up somehow 😅 however, even after fixing it and even commenting out that line entirely I'm still seeing the same (1): Fatal Error Preloading failed to getpwnam("koillection") error 😕

    timconsidineT 1 Reply Last reply
    1
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by robi
    #10

    hmm, I think it was the double php php typo I noticed

    Life of sky tech

    1 Reply Last reply
    0
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine App Dev
    replied to thetomester13 on last edited by
    #11

    @thetomester13 said in koillection : A self-hosted website to manage all your collections:

    I'm still seeing the same (1): Fatal Error Preloading failed to getpwnam("koillection") error

    I have not met this error before.

    Let us all know if you get it packaged - it would be an interesting addition for Cloudron.

    1 Reply Last reply
    0
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine App Dev
    wrote on last edited by timconsidine
    #12

    Search showed this :

    The error message Preloading failed to getpwnam("koillection") error suggests that the system is trying 
    to find a user named "koillection" but is unable to do so. This might be required by 
    the application or its underlying system for proper permissions and ownership.
    
    To resolve this issue when packaging Koillection for Cloudron, you can follow these steps:
    
    1. Create the User
    Before running the application, ensure that the user "koillection" exists on the system. 
    You can create the user using the adduser command:
    
    sudo adduser koillection
    
    2. Set Proper Permissions
    If Koillection requires specific directories or files to be owned by the "koillection" user, 
    you'll need to change the ownership of those resources:
    
    sudo chown -R koillection:koillection /path/to/koillection/directory
    Replace /path/to/koillection/directory with the actual path to the directory or file that Koillection uses.
    

    But no idea if this is in the right direction or a red herring.

    T 1 Reply Last reply
    0
  • T Offline
    T Offline
    thetomester13 App Dev
    replied to timconsidine on last edited by
    #13

    @timconsidine this doesn't right to me unfortunately since I believe apps are run via the cloudrun user, I don't think each app gets its own user - feel free to correct me (anyone) if I'm mistaken. Appreciate the help looking into this error though @timconsidine !

    1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #14

    Can you run each line individually or comment out other lines to isolate which one generates the error?

    Life of sky tech

    T 1 Reply Last reply
    0
  • T Offline
    T Offline
    thetomester13 App Dev
    replied to robi on last edited by
    #15

    @robi yep, that's probably what's going to need to happen!

    1 Reply Last reply
    0
  • T Offline
    T Offline
    thetomester13 App Dev
    wrote on last edited by
    #16

    I was able to get to the next error - progress! The app is now booting up properly. However, on first boot of the app it redirects users to a setup page endpoint, and I'm getting a 404 error on that page. Latest code is pushed up to my repo here, would appreciate if anyone is able to take a look!

    1 Reply Last reply
    1
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine App Dev
    wrote on last edited by timconsidine
    #17
    This post is deleted!
    1 Reply Last reply
    0
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine App Dev
    wrote on last edited by
    #18

    @thetomester13 given that you're in debug stage, I would eliminate any authentication issues, maybe remove from .env.production and as you're packaging for cloudron, use proxyAuth addon.
    At least as a temporary measure to see if it resolves the issue.
    404 is usually not found but maybe here means not allowed to find ?

    1 Reply Last reply
    0
  • T Offline
    T Offline
    thetomester13 App Dev
    wrote last edited by
    #19

    Good news! With some help from the developer I was able to make some strides with this, and am now stuck on a new error. The Koillection application is built on top of Symfony, a PHP framework, which introduces some complexity which don't get along well with Cloudron's read-only fs. I'm wondering if anyone knows of any other Symfony based applications that could help point me in the right direction? I also pushed up the latest code to the repo in the meantime if anyone wants to take a look!
    cc @girish @nebulon
    Thanks and happy Thanksgiving 🙂

    jdaviescoatesJ 1 Reply Last reply
    3
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to thetomester13 last edited by
    #20

    @thetomester13 said in koillection : A self-hosted website to manage all your collections:

    Symfony based applications that could help point me in the right direction?

    Not Symfony, but Castopod is built with CodeIgniter which afaiu is a similar kettle of fish (a PHP framework)

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks