H
Homarr

💬・get-help

Failures building from source

Rryab11/20/2023
I'm following the "Building from source" instructions here: https://homarr.dev/docs/introduction/installation After cloning and changing to the new directory, I run yarn install, after ~1 minute it exits with failures (way more than would be helpful to post here). Trying to install with npm install instead also fails with errors:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: homarr@0.14.1
npm ERR! Found: i18next@22.5.1
npm ERR! node_modules/i18next
npm ERR! i18next@"^22.5.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer i18next@"^23.4.6" from next-i18next@14.0.3
npm ERR! node_modules/next-i18next
npm ERR! next-i18next@"^14.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/<user>/.npm/_logs/2023-11-20T02_36_12_648Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /home/<user>/.npm/_logs/2023-11-20T02_36_12_648Z-debug-0.log
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: homarr@0.14.1
npm ERR! Found: i18next@22.5.1
npm ERR! node_modules/i18next
npm ERR! i18next@"^22.5.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer i18next@"^23.4.6" from next-i18next@14.0.3
npm ERR! node_modules/next-i18next
npm ERR! next-i18next@"^14.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/<user>/.npm/_logs/2023-11-20T02_36_12_648Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /home/<user>/.npm/_logs/2023-11-20T02_36_12_648Z-debug-0.log
I'm trying to build from source because docker-compose ends up in an infinite loop printing the following [sic]:
homarr | ℹ Database is writeable
homarr | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr | ℹ Database is writeable
homarr | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr | ℹ Database is writeable
homarr | ℹ Database is writeable
homarr | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr | ℹ Database is writeable
homarr | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr | ℹ Database is writeable
Rryab11/20/2023
FWIW --force and --legacy-peer-deps do not resolve the issue
EPexplosive parrot11/20/2023
You can try deleting the database ./data/db.sqlite This will force it to reinitialise for your docker compose.
Rryab11/20/2023
I've nuked the directory entirely a few times, just tried again deleting only data/db.sqlite specifically and I'm getting the same thing
EPexplosive parrot11/20/2023
Rryab11/20/2023
I think that I may have had a different issue entirely. While the instance writes that to the output indefinitely, when I navigate to <IP>:7575, I'm shown the page to add the data path, which says to refresh after adding it to the docker-compose.yml file (it was already there) and then click continue. I would stop the instance, make sure it was there, restart it, get back to that page and be told to do it again. I just continued past it and there seemingly isn't any issue
EPexplosive parrot11/20/2023
do you mind showing me your docker-compose script? @ryab
Rryab11/20/2023
It's literally just copied from the install instructions, though I did try messing around with it a bit before.
version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ./homarr/configs:/app/data/configs
- ./homarr/icons:/app/public/icons
- ./homarr/data:/data
ports:
- '7575:7575'
version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ./homarr/configs:/app/data/configs
- ./homarr/icons:/app/public/icons
- ./homarr/data:/data
ports:
- '7575:7575'
EPexplosive parrot11/20/2023
Unfortunately this is beyond my expertise. They are usually on around 08h00 UTC
Rryab11/20/2023
I'm fairly certain it's actually working now, just maybe with the quirk that I think those two lines about the database are being printed forever I have homarr up and just added radarr to it, so far so good. Still getting those lines printed, and I assume that if I hadn't created the admin account, it would still be prompting me to add that line to the docker-compose yaml and refresh
EPexplosive parrot11/20/2023
Good to hear No rush, but could you do me a favour and restart the container at some time? If it was a one off, I'll call it gremlins; but if the repeating error returns I'll open an issue in github.
Rryab11/20/2023
Nothing interesting in the logs after restarting
Starting homarr ... done
Attaching to homarr
homarr | Exporting hostname...
homarr | Migrating database...
homarr | yarn run v1.22.19
homarr | warning package.json: No license field
homarr | warning ../package.json: No license field
homarr | $ ts-node ./migrate.ts
homarr | Done in 1.99s.
homarr | Starting production server...
homarr | Listening on port 7575 url: http://e877eb6a80f5:7575
homarr |
Starting homarr ... done
Attaching to homarr
homarr | Exporting hostname...
homarr | Migrating database...
homarr | yarn run v1.22.19
homarr | warning package.json: No license field
homarr | warning ../package.json: No license field
homarr | $ ts-node ./migrate.ts
homarr | Done in 1.99s.
homarr | Starting production server...
homarr | Listening on port 7575 url: http://e877eb6a80f5:7575
homarr |
I did try multiple times and removed dirs etc before reaching out here. I couldn't tell you why it's working now 🤷‍♂️
EPexplosive parrot11/20/2023
Gremlins it is!
Rryab11/20/2023
I appreciate the help and the time either way
MManicraft100111/20/2023
Hi, installing from source is not easy to do as you need specific requirements (node version, correct build tools, ...). It's normal to see the database message being logged many times - But does the application work at all when this message is being logged? Or why did you decide to switch to running from source?

Looking for more? Join the community!

H
Homarr

💬・get-help

Join Server
Want results from more Discord servers?
Add your server
Recommended Posts
Can't delete default itemSo i'm trying to delete this default text item but the button it's bugged and i can'tIntegrations and ping not working on same hostIntegrations / ping work fine on different hosts, e.g. both my RPi's running pihole. But all other homepage start/stop dockeri know you can control dockers via the admin pannel but is it at all possible to have a control in tFavicon will not changeIs this a know issue or how do I resolve? My favicon is "stuck" with the default homarr ico (tried mPlex Now Playing Shows NothingHoping someone can advise: adding Plex app and then the Media widget doesn't show any playing media.Homarr updated to 0.14.1 - lost my previous dashboardI deployed Homarr within a Proxmox LXC using ttech's script (https://tteck.github.io/Proxmox/). I cDoplarr App and URL vs IP AddressI'm using Doplarr paired with Overseerr for requesting content via Discord. Overseerr works great wiTorrent integration not workingHi everyone I've just set up a docker container of Homarr for the first time and my torrent integratdashboard widgets wont load due to nzbgetWhen restarting the Homarr container, It wont load all the other widgets until I delete the nzbget iunable to access jellyfin, sonarr, etcso i setup the docker and its working but all my services jellyfin, sonarr, etc are on my windows seHow can anonymous users actually see the anonymous board?I am trying to make a "landing page" for users when they go to my main URL. I have made a board, anPlex integration issuesi'm having issues with plex integration for currently playing titles tried with and without http / hLogin Screen personalizationHi! It's possible to personalize the login screen? I want to put my logo and my title insteads of Url does not go to default dashboardhttps://home.monkeclub.nl/ should automatically redirect to default dashboard called** "default23"**docker wont connectKapa test@kapa.ai how do I adjust widget size?Cannot close the "Welcome to Homarr" text box. The settings cog is under the edit button.Cannot close the "Welcome to Homarr" text box. The settings cog is under the edit button.Unsplash background low qualityHello, using `https://source.unsplash.com/featured/` as my background, the pictures used are extremlDesktop vs MobileHi All, Just a quick question. I have my desktop dashboard set up so everything lines up, but when Plex Integration HelpHi, I am having trouble integrating Plex into homarr. Plex is installed as an app(not docker) on my