Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error updating .htaccess file" #654

Closed
luisBSBDATA opened this issue Sep 6, 2018 · 33 comments
Closed

"Error updating .htaccess file" #654

luisBSBDATA opened this issue Sep 6, 2018 · 33 comments
Labels

Comments

@luisBSBDATA
Copy link

Steps to reproduce

  1. Set up an Ubuntu Server 18.04
  2. Install Nextcloud VM using the provided script (nextcloud_install_production.sh)
  3. Choose to install "Calendar", "Contacts", "CanIUpdate", "IssueTemplate" and "Passman" as additional apps

Expected behaviour

Finish the installation without errors

Actual behaviour

It shows those errors:
image
image

Server configuration

Server version: Ubuntu Server 18.04

How did you install the VM? From the script

@enoch85
Copy link
Member

enoch85 commented Sep 6, 2018

Disabling incomaptible apps is not a bug, it's a feature.

I will check the other error.

@enoch85
Copy link
Member

enoch85 commented Sep 6, 2018

@nxtester
Copy link

nxtester commented Sep 6, 2018

I can confirm the following error where script will break:

teamviewer_2018-09-06_21-35-56

@enoch85
Copy link
Member

enoch85 commented Sep 6, 2018

@luisBSBDATA Ok, so is that when doing an upgrade from 13.0.6 on Ubuntu 16.04?

Please give me the exact steps to reproduce.

@enoch85
Copy link
Member

enoch85 commented Sep 6, 2018

How does your overwrite.cli.url look like?

@enoch85 enoch85 changed the title "Disabled incompatible app" and "Error updating .htaccess file" "Error updating .htaccess file" Sep 6, 2018
@nxtester
Copy link

nxtester commented Sep 6, 2018

Nope, clean install from clean reference platform "Ubuntu Server 18.04 LTS 64-bit " according to recommended specs:

Thick provisioned (better performance and easier to maintain)
DHCP available
40 GB HDD for OS
4 vCPU
4 GB RAM

I use this reference VM for some weeks and had never a problem related to the platform. You can get Teamviewer access if u need it :-)

@enoch85 enoch85 added the bug label Sep 6, 2018
@enoch85
Copy link
Member

enoch85 commented Sep 6, 2018

@nxtester That's very strange. I installed 13.0.6 yesterday using the scripts, and today I updated that VM.

So, how can we do the exact same thing and get different results?

Is this during updating or installing?

@nxtester
Copy link

nxtester commented Sep 6, 2018

During second part after first reboot.

@enoch85
Copy link
Member

enoch85 commented Sep 6, 2018

During second part after first reboot.

Please be more specific. Do you mean in the startup script?

@nxtester
Copy link

nxtester commented Sep 6, 2018

I the last 3 days I tried every day a new installation w/o success. Errors have been communicated and approved. Sorry, I am not a linux guy. OK, I started "sudo bash nextcloud_install_production.sh" and it went fine until first reboot. Then I logged in and second part started, first explanation about all steps (big information box) and then after a while script stopped by error.

@nxtester
Copy link

nxtester commented Sep 6, 2018

Can do it again, made a snapshot after successful first stage / reboot.

@nxtester
Copy link

nxtester commented Sep 6, 2018

First initial user (standard in reference VM) was "linux", second user made by script was "ncadmin". Script continued then with "ncadmin". Maybe important to know?

@nxtester
Copy link

nxtester commented Sep 6, 2018

This is what I call "stage 2 after first reboot":

putty_2018-09-06_21-55-20

Then:
putty_2018-09-06_22-00-43

Then two questions (keyboard, timezone) and script will break.

@enoch85
Copy link
Member

enoch85 commented Sep 6, 2018

I found the error and will fix it.

Thanks for reporting!

enoch85 pushed a commit that referenced this issue Sep 6, 2018
@enoch85
Copy link
Member

enoch85 commented Sep 6, 2018

@nxtester Can you please path your setup script with the fix in the PR and see it it works?

@luisBSBDATA
Copy link
Author

Disabling incompatible apps is not a bug, it's a feature.

Oh, okay. So I assume that I'll be able to update and activate them from Nextcloud in the future, right?

@nxtester Can you please path your setup script with the fix in the PR and see it it works?

It's already fixed then? I will rollback my VM to a clean state and try again, then I will get back to you. Thanks again!

@enoch85
Copy link
Member

enoch85 commented Sep 7, 2018

It's already fixed then? I will rollback my VM to a clean state and try again, then I will get back to you. Thanks again!

Please do!

@nxtester
Copy link

nxtester commented Sep 7, 2018

Checked it and changed script. Error seemes to be fixed, but anyway not possible to finish regularly. Here is the next error where script will break:

putty_2018-09-07_10-05-44

Thanks for your appreciated work!

@luisBSBDATA
Copy link
Author

Tried again and this is what I got:

image

@enoch85
Copy link
Member

enoch85 commented Sep 7, 2018

@luisBSBDATA OK, can you please give me the exact steps to reproduce? The fix worked for me.

@luisBSBDATA
Copy link
Author

@luisBSBDATA OK, can you please give me the exact steps to reproduce? The fix worked for me.

  • I rolled back my VM to a clean state.

  • I re-download the "nextcloud_install_production.sh" script and executed it

  • I ran through all the install process until the first reboot, then it failed just after asking me if I wanted to change the timezone. The other error was further than that new one.

@enoch85
Copy link
Member

enoch85 commented Sep 7, 2018

@luisBSBDATA But you have to edit the script before you run it. The code isn't in master yet. That's how you test stuff. :)

So please try again and add the fix that I made from the PR

@luisBSBDATA
Copy link
Author

Okay, I thought it was already merged with master. Let me try again then :)

@luisBSBDATA
Copy link
Author

Now that's what I got if I choose to install Passman:

image

@nxtester
Copy link

nxtester commented Sep 7, 2018

Same here.

@enoch85
Copy link
Member

enoch85 commented Sep 7, 2018

Great! So the .htaccess issue is gone?

For the other error: nextcloud/server#11070

@nxtester
Copy link

nxtester commented Sep 7, 2018

So the .htaccess issue is gone?

For me I can approve that .htaccess issue was gone after modifying script.

@nxtester
Copy link

nxtester commented Sep 7, 2018

BTW one question: Is there any disadvantage to uncheck all NC apps (lika Passman) and install it later by NC portal?

@luisBSBDATA
Copy link
Author

Great! So the .htaccess issue is gone?

Yeah, thanks one more time @enoch85 for your time and patience

BTW one question: Is there any disadvantage to uncheck all NC apps (lika Passman) and install it later by NC portal?

Im interested on it too

@enoch85 enoch85 closed this as completed in 91b49fc Sep 7, 2018
@enoch85
Copy link
Member

enoch85 commented Sep 7, 2018

BTW one question: Is there any disadvantage to uncheck all NC apps (lika Passman) and install it later by NC portal?

What the script does is installing the app from App Store via CLI (the Nextcloud built in occ command), so no, there are no difference.

Will release Nextcloud 14 soon!

@enoch85
Copy link
Member

enoch85 commented Sep 7, 2018

And guys, THANKS for testing!

@nxtester
Copy link

nxtester commented Sep 7, 2018

Thanks to you, Enoch85. We are only helping a little.

Will release Nextcloud 14 soon!

Soon or sooner? ;-))

@luisBSBDATA
Copy link
Author

Nice, I will install them manually post-installation then. Thank YOU @enoch85, I will keep on posting if I find out something else 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants