Creating a service for Laravel Horizon on Ubuntu 22.04.5 LTS
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- laravel, nginx, php, postgresql, redis, ubuntu
- Área
- devops, documentation, infrastructure
Línea de trabajo
Start with the Laravel Horizon service instructions in the installation documentation at docs.pixelfed.org/running-pixelfed/installation.html. Compare the documented systemd Requires entries with the Ubuntu 22.04 service names and the configurations reported here, then update the instructions so the service starts without dependency errors. Done means the documented unit uses valid service names for the supported setup.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The documentation https://docs.pixelfed.org/running-pixelfed/installation.html mentions creating a service to run Laravel Horizon in the background.
I think this must be for a different version of Linux/Ubuntu (maybe Ubuntu 20?).
When I followed the instructions, I got the following errors on the service when doing a systemctl status pixelfed:
/etc/systemd/system/pixelfed.service:4: Failed to add dependency on postgresql, ignoring: Invalid argument
/etc/systemd/system/pixelfed.service:5: Failed to add dependency on php-fpm, ignoring: Invalid argument
/etc/systemd/system/pixelfed.service:6: Failed to add dependency on redis, ignoring: Invalid argument
/etc/systemd/system/pixelfed.service:7: Failed to add dependency on nginx, ignoring: Invalid argument
This is because systemd seems to need .service on the end of the Requires lines for each service.
Also, redis is now called redis-server
The rest of the file is the same.
My "Requires" section looks like the following (I also have multiple versions of PostgreSQL and php-fpm installed):
[email protected]
Requires=php8.3-fpm.service
Requires=redis-server.service
Requires=nginx.service
Hopefully this helps someone, and the docs can be updated to deal with this version of Linux.
- Lenguaje dominante
- JavaScript
- Estrellas
- 186
- Forks
- 77
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pixelfed/docs
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
Todos los issues de pixelfed/docs
Issues similares
-
Place search spins forever when nominatim failsPosiblemente ocupada @jgt87 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
anvaka/city-roads#213 ·
-
mobile UX
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
jellyfin/jellyfin-web#8685 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
SchemaStore/schemastore#6535 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue helia storage tier-1
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
QMeshPy/distributed-quantum#53 ·
Los mantenedores suelen responder en 1 día