amici,
@amici@fribygda.no avatar

This is giving me such headaches.

So, NAS is set up. "Container Station" installed, and official NextCloud image downloaded and run.

Problem: I can only access it locally. So I set up port forwarding and everything should work, right?

No, now I get this shit below (NextCloud image).

So new problem: how do I edit that file? I can't for the life of me figure it out. Tried to open some form of terminal access to the container, but then there's no way to edit! (bash image)

Screenshot of bash script window, inside of browser window, which is accessing the desktop on the QNAS hardware

amici,
@amici@fribygda.no avatar

Any long-term operator have a smart way to edit that file when neither nano nor vim is available?

(or maybe I just don't understand what bin/sh or bin/bash does, and you can tell me?)

ainmosni,
@ainmosni@berlin.social avatar

@amici vi (no m) is usually installed, and else ed, but ed is very tedious.

amici,
@amici@fribygda.no avatar

@ainmosni

neither vi nor ed is available

ainmosni,
@ainmosni@berlin.social avatar

@amici

Is nextcloud running in a container?

amici,
@amici@fribygda.no avatar

@ainmosni

Docker container, yes, that's where I'm accessing from.

Using "Container Station" from my QNAS NAS

ainmosni,
@ainmosni@berlin.social avatar

@amici ok, I just grabbed the container myself, and it's debian based.

You can get vim like this:

apt update  
apt install vim  

This will also work for nano.

Do note that because of how containers work, the next time you restart the running image, the editor will be gone.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • tacticalgear
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • Durango
  • rosin
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ethstaker
  • JUstTest
  • cubers
  • cisconetworking
  • normalnudes
  • modclub
  • everett
  • osvaldo12
  • GTA5RPClips
  • Leos
  • anitta
  • tester
  • provamag3
  • megavids
  • lostlight
  • All magazines