Connecting to OMV Via SFTP Through Filezilla

  • Hi


    I'm trying to edit some files specifically for NGINX as I'm setting up PHPMyAdmin on a different port so that it doesn't clash with the web-gui of OMV. I need root privileges so I've created a user and set all privileges to it. I can access the root directory perfectly fine and download files to my desktop. However, I believe I'm only accessing this as read-only because I can not overwrite the files on the server when I'm uploading the amended files.


    Any idea how I can gain full privileges to user and/or group?


    Many thanks


    Will

  • I'm trying to edit some files specifically for NGINX as I'm setting up PHPMyAdmin on a different port so that it doesn't clash with the web-gui of OMV.

    This is a very good reason to run phpmyadmin in docker.


    I need root privileges so I've created a user and set all privileges to it. I can access the root directory perfectly fine and download files to my desktop. However, I believe I'm only accessing this as read-only because I can not overwrite the files on the server when I'm uploading the amended files.


    Any idea how I can gain full privileges to user and/or group?

    I don't what you mean by "all privileges" but typically what you are doing is done by root or using sudo on the system. You can't sudo via sftp and sftp is a terrible way to edit configuration files on a Linux system especially config files in /etc/.

    omv 5.5.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I don't what you mean by "all privileges" but typically what you are doing is done by root or using sudo on the system. You can't sudo via sftp and sftp is a terrible way to edit configuration files on a Linux system especially config files in /etc/.

    What's the best GUI way of editing the files? I can quite happily use nano to edit the files in SSH session but I'm trying to make a noob friendly guide for people that want a simple way of doing it.

    This is a very good reason to run phpmyadmin in docker.

    I couldn't get PHPMyAdmin working before. I was using a ARM64 version and for some reason the CPU was 'unknown' to the system, whereas I an now running ARMHF so may I try again.

  • What's the best GUI way of editing the files?

    You shouldn't have to. OMV is the GUI way of editing files. If you are trying to make guide for installing phpmyadmin on OMV, you should use the nginx plugin and all editing would be done in the plugin.

    omv 5.5.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • So you reckon installing Docker and NGINX from OMV's extra's and then configuring MySQL, PHPMyAdmin and Nextcloud through Docker containers?


    One of the problems I have is when running

    Code
    docker pull mysql/mysql-server


    I receive this message

    Code
    Using default tag: latest
    latest: Pulling from mysql/mysql-server
    no matching manifest for unknown in the manifest list entries
  • So you reckon installing Docker and NGINX from OMV's extra's and then configuring MySQL, PHPMyAdmin and Nextcloud through Docker containers?

    No. Docker -or- nginx plugin. I recommend docker and the container will have the web server.

    I receive this message

    You have to add a tag if your system isn't amd64. https://hub.docker.com/r/mysql/mysql-server/tags

    omv 5.5.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!