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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
R

riamehdi

@riamehdi
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Try install OpnForm
    R riamehdi

    Salut @Dave-Swift, yes, AI works well in self-hosting via a LAMP server. All you need is an OpenAI API key. It's really impressive!
    I haven't been able to secure the application with a simple environment variable to block registrations. Any ideas?
    For now simple action :

    // Route::post('register', [RegisterController::class, 'register']);
    

    from routes/api.php 😉

    LAMP

  • Try install OpnForm
    R riamehdi

    the workaround does work.
    Thank you

    LAMP

  • Try install OpnForm
    R riamehdi

    You're right @girish
    I do have: PHP 8.2.11 displayed on Laravel base page.

    I used this Composer command via PHP 8.2 :

    php8.2 /usr/bin/composer install
    

    If it helps others.

    Néanmois, pour la partie NPM, je suis bloqué.

    Comment installer avec l'utilisateur root ou www-data ?
    Avec l'utilisateur www-data, j'ai cette erreur :

    www-data@49e68d6c-00e4-4ad6-b381-6cde1e1268b8:~/OpnForm$ npm install
    -bash : npm : commande non trouvée
    

    Avec l'utilisateur root, j'ai cette erreur :

    root@49e68d6c-00e4-4ad6-b381-6cde1e1268b8:/app/data/OpnForm# npm install
    npm ERR! code EROFS
    npm ERR! syscall open
    npm ERR! path /root/.npm/_cacache/tmp/29927d23
    npm ERR! errno -30
    npm ERR! rofs EROFS: read-only file system, open '/root/.npm/_cacache/tmp/29927d23'
    npm ERR! rofs Often virtualized file systems, or other file systems
    npm ERR! rofs that don't support symlinks, give this error.
    
    npm ERR! Log files were not written due to an error writing to the directory: /root/.npm/_logs
    npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
    
    LAMP

  • Try install OpnForm
    R riamehdi
    root@49e68d6c-00e4-4ad6-b381-6cde1e1268b8:/app/code# su - www-data
    www-data@49e68d6c-00e4-4ad6-b381-6cde1e1268b8:~$ cat /app/data/PHP_VERSION 
    ; Set the desired PHP version in this file
    ; Restart app for changes to take effect
    PHP_VERSION=8.2
    www-data@49e68d6c-00e4-4ad6-b381-6cde1e1268b8:~$ php -version
    PHP 8.1.24 (cli) (built: Oct  6 2023 09:46:42) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.1.24, Copyright (c) Zend Technologies
        with the ionCube PHP Loader v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd.
        with Zend OPcache v8.1.24, Copyright (c), by Zend Technologies
    www-data@49e68d6c-00e4-4ad6-b381-6cde1e1268b8:~$ 
    

    I reboot and stop and restart, it has no effect.

    LAMP

  • Try install OpnForm
    R riamehdi

    System Info
    Platform Version: v7.6.2 (Ubuntu 22.04.3 LTS)
    CPU: 8 Core "AMD EPYC Processor"
    Memory: 16.37 GB RAM & 4.29 GB Swap
    Uptime: 2 jours
    Cloudron Creation Time: 25/12/2023

    PS: I'm new on the platform and bought a one-year license yesterday!

    LAMP

  • Try install OpnForm
    R riamehdi

    I try to install https://github.com/JhumanJ/OpnForm on LAMP app.
    Impossible to set PHP 8.2 always stay at PHP 8.1. I reboot not happen.
    The doc : https://docs.cloudron.io/apps/lamp/#supported-php-versions not work.

    I tray also install npm modules. Get error NPM not found in user www-data !
    The doc : https://docs.cloudron.io/apps/lamp/#composer also not work.

    How fix these two issues ?

    LAMP
  • Login

  • Don't have an account? Register

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