-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Trouble updating with am -u #1109
Comments
Oh and I forgot to mention, even though
|
hi @Sush-ruta I don't know if your version is updated... but for me the line 608 is empty The line 610 instead has this
from
it detects all It is better I start replace that variable too. Thanks. |
Is it outdated? I followed all the steps you said about updating to dev version |
It is two weeks old... but don't worry. I think I'll fix the issue with the next commit... you will see AM 9.1-2 (the The issue was with the too many tmp directories that we had to remove, also if they were not managed by AM. |
Please, update with This was an issue in the option @Sush-ruta Let me know if this fixes your issue. If not, please reopen. |
Updated with
But the problem exists still @ivan-hc |
retry |
|
@Sush-ruta the apps are updated first, and then the CLI, so if it happens to you the first time, from the second onwards it shouldn't happen again |
Just ran into a similar issue here: #1111
That will fail if there are mutliple tmp dirs. |
Hi @ivan-hc - sorry for the delayed response. I followed all the steps:
And then hanging at I feel like I am making some sort of mistake. The version is |
@Sush-ruta does /opt/WordPress.com contain a file named |
fix #1109 (comment) Added a maximum depth level to intercept the "remove" script and only handle apps installed with AM/AppMan
9.1-6 should solve the issue
because you are still in Developer Mode. BTW I don't suggest to exit it right now... please when you will see that AM is at version 9.1.1, run The reason I don't suggest to exit it right now its because you will keep a bunch of errors if you downgrade to AM 9.1 @Sush-ruta Please be patient and keep the Developer Mode until AM will be at version 9.1.1 |
@Sush-ruta if you give me feedback, I can release the new release safely. Is your problem solved? |
Hi @ivan-hc - the problem is solved, thank you. Also , sorry for not responding earlier, somehow not getting the GH notifications on mobile. But again, thank you. 🙏 |
Thanks to you :) When you will see that AM is updated at version 9.1.1, run |
Are you using "AM" or "AppMan"?
AM
What GNU/Linux distribution are you using it on?
elementaryOS
Please, describe the bug
Updating with
am -u
or withtopgrade
gives an error. It will list all the apps it can update, then start the update process. It will (I am guessing) go through all the /opt/ folders and the moment it finds a non-am-installed folder it will throw an error. It is confusing, but let me show you the output and the screenshot:(It lists the apps, after that:)
As you can understand, Wordpress was NOT installed with
am
, so its folder structure is throwing off the error. When I had other apps that ranked higher alphabetically, unreel for example, that app gave the error.If you see the second screenshot, you can see that the command terminated itself before starting
X is updated, ...
- I did not terminate the code; it did so itself and always does. And the second updating part hangs atfzf
always and never goes past it. I have to terminate. I also did not notice the/usr/local/bin/am: line 608: test: too many arguments
line at the beginning of the command before now.NOTE:
appman -u
works without any problem and as expected. Thisam
bug ... I actually have had it for two weeks now but I did not get enough time to report. Started right after I updated to dev version.Sorry if I did not make myself fully clear or failed to report the bug properly. I have little technological idea so I'm piecing together stuff on my own.
What are the steps/commands to perform?
am -u
What is the expected behavior?
am
updates normally.The text was updated successfully, but these errors were encountered: