Jump to content

[Support] knex666 - Nextcloud


Recommended Posts

57 minutes ago, Kilrah said:

Do you need/use it?

See from the apps tab in the UI, it might not be updated for NC 29 yet.

No, I'm not using it.

 

And I can't seem to find it in the disabled app section either.  Does it have another name ?

Link to comment
On 6/1/2024 at 5:39 PM, Kilrah said:

Looks like it's called Teams now

Thanks.  Even after enabling it and restarting the docker everything still works.

 

I guess it was an update error.

 

Thanks for your help.

Link to comment

I have everything installed and now get this message when I try to connect remotely:

Please contact your administrator. If you are an administrator, edit the "trusted_domains" setting in config/config.php like the example in config.sample.php.

How do I edit the trusted doamins?

Link to comment
Posted (edited)

Wondering if this fork will include the most common chased dependencies pdlib and ffmpeg.

The latter is easy enough and I have that in a script for every NC update it's removed.

However the pdlib I have spent 5+ hours and still not got it working, many people struggle to get it working.

This fork has done it: 

But I would prefer to use knex666 fork, always a concern when the images are modified.

 

Edited by ados
Link to comment
37 minutes ago, ados said:

But I would prefer to use knex666 fork, always a concern when the images are modified.

It's not a fork, it's just a template for the official image as is. And how would you expect more things to be added without "the image being modified"?

My nextcloud-ffmpeg image also has ffmpeg and works with memories/recognise plus has VAAPI support.

Link to comment

I guess my wording was poor.

I was meaning that if I was to use a fork I was aiming for something more well known.

I know that knex666 isn't a fork but was hoping it might be one day.

Link to comment
Posted (edited)

If it became a fork it'd be "less well known" as a modified version than those that have been around for a year or 2 then... 🤷‍♂️

 

Also 1) the "modifications" are public so you can see what they are, and 2) there... aren't exactly multiple ways to do it so it'd end up being essentially the same.

Edited by Kilrah
Link to comment

Don't think the quotes are needed, thanks for clarifying.

It's also not practical for users to dig into changes, understand them and do this ideally on each change.

At this point Nextcloud should be including these popular dependencies 🫤.

It's appreciated that people like yourself spend the time to make these changes for the community which wouldn't be needed if they added to the core image but 🤷‍♂️.

I had seen your docker fork but with the title and it not explicitly mentioning pdlib I thought it was mainly targeted at ffmpeg.

I shall take a look 👍

 

Link to comment
Posted (edited)

After must trial and error, documentation and 30+ forums I have it working for this image.

If anyone is interested let me know and I can post a guide.

Edit: It broke on simple reboot

Edited by ados
Link to comment
Posted (edited)
8 hours ago, ados said:

Edit: It broke on simple reboot

That's why we're making different images. Changes you apply to the container that are not built into the image are not persistent, you'll have to reapply them after any container update or edit which is highly impractical. 

 

If you look at the Dockerfile for my image it's just a few packages added with apt. All you needed was to run those in this container and you'd have gotten the same thing, but not persistent. Or it can be applied and distributed into the image, and then it is... Could even build the image locally with said Dockerfile and use it if you really had trust issues.

 

  

On 6/8/2024 at 10:59 AM, ados said:

At this point Nextcloud should be including these popular dependencies 🫤.

AFAIK they do in their "Nextcloud AiO" container, which is the "really official" one...

Edited by Kilrah
Link to comment

I have following questions:

  1. If someone has been using nextcloud from LINUX repository (for 5 yrs+), is there ANY benefit to use knex666 image? If yes, what are top 3 benefits?
  2. How difficult is to change the repositories (dockers), assuming one wants to keep ALL existing data (calendar, bookmarks, contacts,..etc)? If it's easy, are there any simple and explicit STEP-BY-STEP instructions on how to perform the change?

Thanks

Link to comment

After updating the version, a permission issue with nextcloud-init-sync.lock prevented the container from starting. Once this was resolved, I encountered a login problem with my account, receiving an “Incorrect username or password” message. Despite this, my account folder still exists in the /var/www/html/data directory. Although I can create new accounts, my previous account remains inaccessible.

 

what can i do

Link to comment
  • 2 weeks later...

@knex666 apologied for posting here but I couldn't find a support thread for picoshare.

Was setting up and noticed the template appears incorrect.

There's 2 port environmental variables, both identical.

Additionally, neither of these have any impact on the port and it's always 3001.

Adding PORT=4001 (or anything) in the post arguments has no impact either.

Checked the GitHub and the values are correct, they actually list the default port as 4001.

If you leave as 3001 the web portal is then accessible but requires changing your conflicting docker.

 

How I got it working.

1. Remove duplicate port env

2. Change the remaining to your port i.e 4001

3. In extra parameters enter the following: --publish 4001:4001/tcp

Swap the above with your ports of course, portal will then load.

Link to comment
Posted (edited)

My Nextcloud is based on knex666 docker and SWAG (linuxserv.io reverse proxy)

 

Everything is workink like a charm but I'm having a problem with big files synchronized with Windows Desktop App.

 

If I upload a big file (1gb or more) via web browser, everything is ok, but if I try do sync the same file with Windows Desktop App, I receive the error "413 Request Entity Too Large"

 

I think that the problem is not in server side because it works fine via web browser. I've tried to set maxchunksize on nexcloud.cfg without success.

 

Any sugestion?

 

EDIT: Solved with this solution: 

 

Edited by JAnguita
  • Like 1
Link to comment
On 4/30/2024 at 5:55 PM, Sebastiansuisse said:

I tried both PHP_UPLOAD_LIMIT 5G and PHP_UPLOAD_LIMIT and also PHP_UPLOAD_LIMIT = 5G and nextcloud crashes and refuses to start, I cant even open logs if I have any PHP arguments. Im lost sorry.

Screenshot 2024-04-30 at 17.53.17.png

Screenshot 2024-04-30 at 17.53.53.png

Try this: 

 

Link to comment
5 minutes ago, What's_a_Computer? said:

Is there a way to run an occ command through an ssh connection into unraid?
I've been searching for a while but I guess my question is too simple because all the answers are way over my head.

Yea, here is an example:

docker exec -u www-data nextcloud php occ db:add-missing-indices

Link to comment

Awesome, that helps me understand way more than trying to read manuals.

When I run:

 docker exec -u www-data Nextcloud php occ

It tells me:

Cannot write into "config" directory!
This can usually be fixed by giving the web server write access to the config directory.

But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.
See https://docs.nextcloud.com/server/29/go.php?to=admin-config
{"reqId":"D5aMQwP3cxwQUDQY5zHd","level":3,"time":"2024-07-18T10:33:00+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#221","userAgent":"--","version":"","data":{"app":"PHP"}}

 

 

My config file looks like it's owned by nobody and users:


root@Closet:/mnt/user/appdata/nextcloud/config# ls -l
total 122
-rw-r--r-- 1 nobody users    60 Sep  3  2023 apache-pretty-urls.config.php
-rw-r--r-- 1 nobody users    70 Sep  3  2023 apcu.config.php
-rw-r--r-- 1 nobody users   377 Sep  3  2023 apps.config.php
-rw-r----- 1 nobody users  1351 Jul  1 01:46 config.php
-rw-r--r-- 1 nobody users 75166 Sep  3  2023 config.sample.php
-rw-r--r-- 1 nobody users   484 Sep  3  2023 redis.config.php
-rw-r--r-- 1 nobody users   798 Sep  3  2023 reverse-proxy.config.php
-rw-r--r-- 1 nobody users  2030 Sep  3  2023 s3.config.php
-rw-r--r-- 1 nobody users  1025 Sep  3  2023 smtp.config.php
-rw-r--r-- 1 nobody users  1103 Sep  3  2023 swift.config.php


and my available groups are:
root@Closet:/mnt/user/appdata/nextcloud/config# groups
root bin daemon sys adm disk wheel audio docker

 

Some of the forms online say I want to give the webserver user ownership of the config file but none of of those look like a webserver user to me.


Should I give docker ownership of config.php in order to run occ from ssh? Will this mess anything else up or am I on the wrong path entirely?


Edit:

I tried to change the ownership to docker and it gave the same error.

Edited by What's_a_Computer?
Link to comment
3 hours ago, What's_a_Computer? said:

Is there a way to run an occ command through an ssh connection into unraid?
I've been searching for a while but I guess my question is too simple because all the answers are way over my head.

In addition to the other suggestion - I kept forgetting how to do this, so I installed the "OCC Web" add-on in Nextcloud.  Then, when the system tells me I need to run a command, I can do it straight into a command prompt within the Nextcloud interface.

  • Like 1
Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...