Connecting to OMV Via SFTP Through Filezilla

    • 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
    • willowen100 wrote:

      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.

      willowen100 wrote:

      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 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      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.

      ryecoaaron wrote:

      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.
    • willowen100 wrote:

      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 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      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

      Source Code

      1. docker pull mysql/mysql-server

      I receive this message

      Source Code

      1. Using default tag: latest
      2. latest: Pulling from mysql/mysql-server
      3. no matching manifest for unknown in the manifest list entries

      The post was edited 1 time, last by willowen100 ().

    • willowen100 wrote:

      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.

      willowen100 wrote:

      I receive this message
      You have to add a tag if your system isn't amd64. hub.docker.com/r/mysql/mysql-server/tags
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

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